Android: how to draw a border to a LinearLayout

Do you really need to do that programmatically? Just considering the title: You could use a ShapeDrawable as android:background… For example, let’s define res/drawable/my_custom_background.xml as: <shape xmlns:android=”http://schemas.android.com/apk/res/android” android:shape=”rectangle”> <corners android:radius=”2dp” android:topRightRadius=”0dp” android:bottomRightRadius=”0dp” android:bottomLeftRadius=”0dp” /> <stroke android:width=”1dp” android:color=”@android:color/white” /> </shape> and define android:background=”@drawable/my_custom_background”. I’ve not tested but it should work. Update: I think that’s better to … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)