Skip to content

Commit

Permalink
Update class_holder.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
developer-krushna authored Apr 11, 2024
1 parent 4e3cb02 commit 14626fd
Showing 1 changed file with 51 additions and 47 deletions.
98 changes: 51 additions & 47 deletions app/src/main/res/layout/class_holder.xml
Original file line number Diff line number Diff line change
@@ -1,47 +1,51 @@
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:id="@+id/background"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:orientation="horizontal">
<LinearLayout
android:id="@+id/icon_background"
android:layout_width="25dp"
android:layout_height="25dp"
android:layout_marginLeft="6dp"
android:layout_marginTop="4dp"
android:layout_marginRight="4dp"
android:layout_marginBottom="4dp"
android:background="#252525"
android:gravity="center_horizontal|center_vertical"
android:orientation="vertical">
<ImageView
android:id="@+id/imageview1"
android:focusable="false"
android:layout_width="15dp"
android:layout_height="15dp"
android:src="@drawable/default_image"
android:scaleType="fitCenter"
android:layout_gravity="center_horizontal|center_vertical" />
</LinearLayout>
<TextView
android:id="@+id/name"
android:focusable="false"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="8dp"
android:gravity="left|center_vertical"
android:text="TextView"
android:textSize="14sp"
android:textStyle="bold"
android:textColor="#000000"
android:layout_gravity="center_horizontal|center_vertical" />
</LinearLayout>
</LinearLayout>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:id="@+id/linear_bg"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_marginTop="2dp"
android:layout_marginRight="5dp"
android:layout_marginBottom="2dp"
android:orientation="horizontal">
<LinearLayout
android:id="@+id/icon_background"
android:layout_width="22dp"
android:layout_height="22dp"
android:layout_marginLeft="6dp"
android:layout_marginTop="4dp"
android:layout_marginRight="4dp"
android:layout_marginBottom="4dp"
android:background="#252525"
android:gravity="center_horizontal|center_vertical"
android:orientation="vertical"
android:layout_gravity="center_horizontal|center_vertical">
<ImageView
android:id="@+id/imageview1"
android:focusable="false"
android:layout_width="12dp"
android:layout_height="12dp"
android:src="@drawable/default_image"
android:scaleType="fitCenter"
android:layout_gravity="center_horizontal|center_vertical" />
</LinearLayout>
<TextView
android:id="@+id/name"
android:focusable="false"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="8dp"
android:gravity="left|center_vertical"
android:text="TextView"
android:textSize="14sp"
android:textStyle="bold"
android:textColor="#000000"
android:layout_gravity="center_horizontal|center_vertical" />
</LinearLayout>
</LinearLayout>

0 comments on commit 14626fd

Please sign in to comment.