|
12 | 12 | android:layout_height="wrap_content" |
13 | 13 | android:layout_gravity="center" |
14 | 14 | android:visibility="gone" /> |
| 15 | + |
15 | 16 | <LinearLayout |
16 | 17 | android:id="@+id/content_layout" |
17 | 18 | android:layout_width="match_parent" |
18 | 19 | android:layout_height="match_parent" |
19 | 20 | android:orientation="vertical"> |
20 | | - |
21 | 21 | <LinearLayout |
22 | 22 | android:layout_width="match_parent" |
23 | 23 | android:layout_height="wrap_content" |
24 | 24 | android:orientation="horizontal" |
25 | 25 | android:gravity="center_vertical" |
26 | 26 | android:padding="8dp"> |
27 | | - |
28 | 27 | <ImageView |
29 | 28 | android:id="@+id/backButton" |
30 | 29 | android:layout_width="wrap_content" |
|
51 | 50 | app:cardCornerRadius="8dp" |
52 | 51 | app:cardElevation="2dp" |
53 | 52 | app:cardUseCompatPadding="true"> |
54 | | - |
55 | 53 | <LinearLayout |
56 | 54 | android:layout_width="match_parent" |
57 | 55 | android:layout_height="match_parent" |
58 | 56 | android:orientation="vertical"> |
59 | | - |
60 | 57 | <LinearLayout |
61 | 58 | android:layout_width="match_parent" |
62 | 59 | android:layout_height="?attr/actionBarSize" |
63 | 60 | android:background="@color/colorPrimary" |
64 | 61 | android:padding="8dp"> |
65 | | - |
66 | 62 | <TextView |
67 | 63 | android:id="@+id/tv_step" |
68 | 64 | android:layout_width="wrap_content" |
|
81 | 77 | android:background="@drawable/buttonyellow" |
82 | 78 | android:minHeight="@dimen/_40dp" |
83 | 79 | android:text="@string/remove" /> |
| 80 | + </LinearLayout> |
| 81 | + |
| 82 | + <ProgressBar |
| 83 | + android:id="@+id/course_step_progress_bar" |
| 84 | + style="@style/Widget.AppCompat.ProgressBar.Horizontal" |
| 85 | + android:layout_width="match_parent" |
| 86 | + android:layout_height="4dp" |
| 87 | + android:progress="0" |
| 88 | + android:progressTint="@color/colorAccent" /> |
| 89 | + |
| 90 | + <androidx.viewpager2.widget.ViewPager2 |
| 91 | + android:id="@+id/viewPager2" |
| 92 | + android:layout_width="match_parent" |
| 93 | + android:layout_height="0dp" |
| 94 | + android:layout_weight="1" |
| 95 | + android:background="@color/card_bg" /> |
| 96 | + <LinearLayout |
| 97 | + android:layout_width="match_parent" |
| 98 | + android:layout_height="wrap_content" |
| 99 | + android:background="@color/colorPrimary" |
| 100 | + android:orientation="horizontal" |
| 101 | + android:padding="8dp"> |
| 102 | + |
84 | 103 | <TextView |
85 | 104 | android:id="@+id/previous_step" |
86 | 105 | android:layout_width="wrap_content" |
|
92 | 111 | android:text="@string/previous" |
93 | 112 | android:textColor="@color/md_white_1000" |
94 | 113 | app:drawableLeftCompat="@drawable/ic_left_arrow" /> |
| 114 | + <View |
| 115 | + android:layout_width="0dp" |
| 116 | + android:layout_height="match_parent" |
| 117 | + android:layout_weight="1" /> |
95 | 118 | <TextView |
96 | 119 | android:id="@+id/next_step" |
97 | 120 | android:layout_width="wrap_content" |
|
117 | 140 | android:textColor="@color/md_white_1000" |
118 | 141 | android:visibility="gone" /> |
119 | 142 | </LinearLayout> |
120 | | - |
121 | | - <ProgressBar |
122 | | - android:id="@+id/course_step_progress_bar" |
123 | | - style="@style/Widget.AppCompat.ProgressBar.Horizontal" |
124 | | - android:layout_width="match_parent" |
125 | | - android:layout_height="4dp" |
126 | | - android:progress="0" |
127 | | - android:progressTint="@color/colorAccent" /> |
128 | | - |
129 | | - <androidx.viewpager2.widget.ViewPager2 |
130 | | - android:id="@+id/viewPager2" |
131 | | - android:layout_width="match_parent" |
132 | | - android:layout_height="0dp" |
133 | | - android:layout_weight="1" |
134 | | - android:background="@color/card_bg" /> |
135 | 143 | <LinearLayout |
136 | 144 | android:id="@+id/ll_progress" |
137 | 145 | android:layout_width="match_parent" |
138 | 146 | android:layout_height="?attr/actionBarSize" |
139 | 147 | android:background="@color/colorPrimary" |
140 | 148 | android:padding="8dp" |
141 | 149 | android:visibility="gone"> |
142 | | - |
143 | 150 | <androidx.appcompat.widget.AppCompatSeekBar |
144 | 151 | android:id="@+id/course_progress" |
145 | 152 | style="@style/Seekbar" |
|
0 commit comments