I Want To Make A Layout Like This.i Applied Stroke But I Do Not Want It On Corners, Like In Image
I do not know how to do it..tried several things.
Solution 1:
Try this
<?xml version="1.0" encoding="utf-8"?><LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"android:layout_width="match_parent"android:layout_height="match_parent"android:orientation="vertical"><LinearLayoutandroid:layout_width="match_parent"android:layout_height="wrap_content"android:orientation="horizontal"><ImageButtonandroid:layout_width="match_parent"android:layout_height="wrap_content"android:layout_margin="10dp"android:layout_weight="1"android:src="@mipmap/ic_launcher_round" /><Viewandroid:layout_width="1dp"android:layout_height="match_parent"android:background="@color/colorPrimary" /><ImageButtonandroid:layout_width="match_parent"android:layout_height="wrap_content"android:layout_margin="10dp"android:layout_weight="1"android:src="@mipmap/ic_launcher_round" /></LinearLayout><LinearLayoutandroid:layout_width="match_parent"android:layout_height="wrap_content"android:orientation="horizontal"><Viewandroid:layout_width="match_parent"android:layout_height="1dp"android:layout_marginRight="10dp"android:layout_marginTop="10dp"android:layout_weight="1"android:background="@color/colorPrimary" /><Viewandroid:layout_width="match_parent"android:layout_height="1dp"android:layout_marginLeft="10dp"android:layout_marginTop="10dp"android:layout_weight="1"android:background="@color/colorPrimary" /></LinearLayout><LinearLayoutandroid:layout_width="match_parent"android:layout_height="wrap_content"android:layout_marginTop="10dp"android:orientation="horizontal"><ImageButtonandroid:layout_width="match_parent"android:layout_height="wrap_content"android:layout_margin="10dp"android:layout_weight="1"android:src="@mipmap/ic_launcher_round" /><Viewandroid:layout_width="1dp"android:layout_height="match_parent"android:background="@color/colorPrimary" /><ImageButtonandroid:layout_width="match_parent"android:layout_height="wrap_content"android:layout_margin="10dp"android:layout_weight="1"android:src="@mipmap/ic_launcher_round" /></LinearLayout></LinearLayout>
OutPUT
Post a Comment for "I Want To Make A Layout Like This.i Applied Stroke But I Do Not Want It On Corners, Like In Image"