|
29 | 29 | app:layout_constraintStart_toStartOf="parent" |
30 | 30 | app:layout_constraintTop_toTopOf="parent"> |
31 | 31 |
|
32 | | - <ImageView |
33 | | - android:id="@+id/syncIcon" |
34 | | - android:layout_width="30dp" |
35 | | - android:layout_height="30dp" |
36 | | - android:layout_alignParentStart="true" |
37 | | - android:layout_marginTop="@dimen/_10dp" |
38 | | - android:background="@drawable/file_upload_animation_login" |
39 | | - android:contentDescription="@string/sync" |
40 | | - android:scaleType="fitCenter" |
41 | | - app:layout_constraintStart_toStartOf="parent" |
42 | | - app:layout_constraintTop_toTopOf="parent" /> |
43 | | - <TextView |
44 | | - android:id="@+id/lblLastSyncDate" |
45 | | - android:layout_width="wrap_content" |
46 | | - android:layout_height="wrap_content" |
47 | | - android:layout_marginTop="@dimen/_10dp" |
48 | | - android:padding="@dimen/padding_normal" |
49 | | - android:text="@string/dash_4" |
50 | | - android:textAlignment="center" |
51 | | - app:layout_constraintEnd_toStartOf="@+id/imgBtnSetting" |
52 | | - app:layout_constraintStart_toEndOf="@+id/syncIcon" |
53 | | - app:layout_constraintTop_toTopOf="parent" |
54 | | - android:textColor="@color/daynight_textColor" /> |
55 | | - <ImageButton |
56 | | - android:id="@+id/imgBtnSetting" |
57 | | - android:layout_width="wrap_content" |
| 32 | + <LinearLayout |
| 33 | + android:id="@+id/sync" |
| 34 | + android:layout_width="match_parent" |
58 | 35 | android:layout_height="wrap_content" |
59 | | - android:layout_alignParentEnd="true" |
60 | | - android:layout_marginTop="@dimen/_10dp" |
61 | | - android:background="@null" |
62 | | - android:contentDescription="@string/settings" |
63 | | - android:paddingStart="@dimen/_10dp" |
64 | | - android:paddingTop="6dp" |
65 | | - android:paddingEnd="10dp" |
| 36 | + android:layout_weight="0.1" |
| 37 | + android:gravity="center_vertical" |
| 38 | + android:orientation="horizontal" |
66 | 39 | app:layout_constraintEnd_toEndOf="parent" |
67 | | - app:layout_constraintTop_toTopOf="parent" |
68 | | - app:srcCompat="@drawable/ic_settings_black_24dp" |
69 | | - app:tint="@color/daynight_textColor"/> |
| 40 | + app:layout_constraintStart_toStartOf="parent" |
| 41 | + app:layout_constraintTop_toTopOf="parent"> |
| 42 | + |
| 43 | + <ImageView |
| 44 | + android:id="@+id/syncIcon" |
| 45 | + android:layout_width="30dp" |
| 46 | + android:layout_height="30dp" |
| 47 | + android:layout_gravity="center_vertical" |
| 48 | + android:layout_marginStart="10dp" |
| 49 | + android:background="@drawable/file_upload_animation_login" |
| 50 | + android:contentDescription="@string/sync" |
| 51 | + android:scaleType="fitCenter" /> |
| 52 | + <TextView |
| 53 | + android:id="@+id/lblLastSyncDate" |
| 54 | + android:layout_width="0dp" |
| 55 | + android:layout_height="wrap_content" |
| 56 | + android:layout_gravity="center_vertical" |
| 57 | + android:layout_weight="1" |
| 58 | + android:gravity="center" |
| 59 | + android:padding="@dimen/padding_normal" |
| 60 | + android:text="@string/dash_4" |
| 61 | + android:textAlignment="center" |
| 62 | + android:textColor="@color/daynight_textColor" /> |
| 63 | + <ImageButton |
| 64 | + android:id="@+id/imgBtnSetting" |
| 65 | + android:layout_width="wrap_content" |
| 66 | + android:layout_height="wrap_content" |
| 67 | + android:layout_gravity="center_vertical" |
| 68 | + android:background="@null" |
| 69 | + android:contentDescription="@string/settings" |
| 70 | + android:paddingStart="@dimen/_10dp" |
| 71 | + android:paddingTop="6dp" |
| 72 | + android:paddingEnd="@dimen/_10dp" |
| 73 | + app:srcCompat="@drawable/ic_settings_black_24dp" |
| 74 | + app:tint="@color/daynight_textColor" /> |
| 75 | + </LinearLayout> |
70 | 76 | <androidx.constraintlayout.widget.ConstraintLayout |
71 | 77 | android:layout_width="match_parent" |
72 | 78 | android:layout_height="wrap_content" |
|
0 commit comments