Skip to content

Commit

Permalink
added fixed layout
Browse files Browse the repository at this point in the history
  • Loading branch information
deeppp15 committed Feb 28, 2025
1 parent 7c085e7 commit a0bdcf3
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions app/src/main/res/layout/fragment_my_course.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<TextView
android:id="@+id/tv_fragment_info"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_height="40dp"
android:layout_gravity="center_vertical"
android:layout_margin="@dimen/_10dp"
android:layout_weight="1"
Expand All @@ -43,10 +43,11 @@
android:textSize="@dimen/text_size_large"
android:textStyle="bold"
android:minWidth="150dp" />

<Button
android:id="@+id/btn_remove"
android:layout_width="70dp"
android:layout_height="wrap_content"
android:layout_height="35dp"
android:layout_gravity="center"
android:layout_margin="@dimen/padding_small"
android:background="@drawable/buttonblue"
Expand All @@ -55,11 +56,12 @@
android:textColor="@color/md_white_1000"
android:textSize="13sp"
android:visibility="gone" />

<TextView
android:id="@+id/tv_add"
style="@style/Widget.AppCompat.Button.Borderless.Colored"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_height="40dp"
android:layout_gravity="center"
android:layout_margin="@dimen/padding_small"
android:drawablePadding="4dp"
Expand All @@ -70,10 +72,11 @@
android:textSize="@dimen/text_size_mid"
app:drawableLeftCompat="@drawable/ic_add_library"
android:width="180dp" />

<TextView
android:id="@+id/tv_selected"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_height="40dp"
android:layout_gravity="center"
android:layout_margin="@dimen/_10dp"
android:background="?attr/selectableItemBackground"
Expand All @@ -85,10 +88,11 @@
app:drawableLeftCompat="@drawable/ic_delete"
app:drawableTint="@color/daynight_textColor"
android:minWidth="120dp" />

<Button
android:id="@+id/btn_archive"
android:layout_width="95dp"
android:layout_height="wrap_content"
android:layout_height="35dp"
android:layout_gravity="center"
android:layout_margin="@dimen/_10dp"
android:background="?attr/selectableItemBackground"
Expand All @@ -99,6 +103,7 @@
android:visibility="gone"
app:drawableLeftCompat="@drawable/ic_delete"
app:drawableTint="@color/daynight_textColor" />

<ImageButton
android:id="@+id/filter"
style="@style/YellowButtons"
Expand Down

0 comments on commit a0bdcf3

Please sign in to comment.