| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,152 @@ |
| 1 |
+<?xml version="1.0" encoding="utf-8"?><!-- |
|
| 2 |
+ ~ Copyright (c) 2023 Samson Achiaga |
|
| 3 |
+ ~ |
|
| 4 |
+ ~ Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 5 |
+ ~ you may not use this file except in compliance with the License. |
|
| 6 |
+ ~ You may obtain a copy of the License at |
|
| 7 |
+ ~ |
|
| 8 |
+ ~ http://www.apache.org/licenses/LICENSE-2.0 |
|
| 9 |
+ ~ |
|
| 10 |
+ ~ Unless required by applicable law or agreed to in writing, software |
|
| 11 |
+ ~ distributed under the License is distributed on an "AS IS" BASIS, |
|
| 12 |
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 13 |
+ ~ See the License for the specific language governing permissions and |
|
| 14 |
+ ~ limitations under the License. |
|
| 15 |
+ --> |
|
| 16 |
+ |
|
| 17 |
+<layout xmlns:android="http://schemas.android.com/apk/res/android" |
|
| 18 |
+ xmlns:app="http://schemas.android.com/apk/res-auto" |
|
| 19 |
+ xmlns:tools="http://schemas.android.com/tools"> |
|
| 20 |
+ |
|
| 21 |
+ <androidx.constraintlayout.widget.ConstraintLayout |
|
| 22 |
+ android:layout_width="match_parent" |
|
| 23 |
+ android:layout_height="match_parent" |
|
| 24 |
+ android:background="@color/fragment_background" |
|
| 25 |
+ tools:context=".ui.AboutFragment"> |
|
| 26 |
+ |
|
| 27 |
+ <androidx.appcompat.widget.AppCompatImageButton |
|
| 28 |
+ android:id="@+id/btn_back" |
|
| 29 |
+ app:layout_constraintBottom_toBottomOf="@+id/materialTextView" |
|
| 30 |
+ app:layout_constraintStart_toStartOf="parent" |
|
| 31 |
+ app:layout_constraintTop_toTopOf="@+id/materialTextView" |
|
| 32 |
+ android:background="@null" |
|
| 33 |
+ android:padding="@dimen/_4sdp" |
|
| 34 |
+ android:layout_marginStart="@dimen/_8sdp" |
|
| 35 |
+ android:layout_width="wrap_content" |
|
| 36 |
+ android:layout_height="wrap_content" |
|
| 37 |
+ android:layout_gravity="center" |
|
| 38 |
+ android:tint="@color/black_day_white_night" |
|
| 39 |
+ app:srcCompat="@drawable/ic_arrow_back_black_24dp" /> |
|
| 40 |
+ |
|
| 41 |
+ <com.google.android.material.textview.MaterialTextView |
|
| 42 |
+ android:id="@+id/materialTextView" |
|
| 43 |
+ android:layout_width="wrap_content" |
|
| 44 |
+ android:layout_height="wrap_content" |
|
| 45 |
+ android:layout_marginStart="@dimen/_32sdp" |
|
| 46 |
+ android:layout_marginTop="@dimen/_16sdp" |
|
| 47 |
+ android:text="@string/about" |
|
| 48 |
+ android:fontFamily="@font/open_sans_bold" |
|
| 49 |
+ android:textSize="@dimen/_22ssp" |
|
| 50 |
+ android:textColor="@color/black_day_white_night" |
|
| 51 |
+ app:layout_constraintStart_toEndOf="@+id/btn_back" |
|
| 52 |
+ app:layout_constraintTop_toTopOf="parent" /> |
|
| 53 |
+ |
|
| 54 |
+ <androidx.constraintlayout.widget.Guideline |
|
| 55 |
+ android:id="@+id/guideline3" |
|
| 56 |
+ android:layout_width="wrap_content" |
|
| 57 |
+ android:layout_height="wrap_content" |
|
| 58 |
+ android:orientation="horizontal" |
|
| 59 |
+ app:layout_constraintGuide_percent=".2" /> |
|
| 60 |
+ |
|
| 61 |
+ <com.google.android.material.card.MaterialCardView |
|
| 62 |
+ android:id="@+id/receiver_profile_image" |
|
| 63 |
+ android:layout_width="wrap_content" |
|
| 64 |
+ android:layout_height="wrap_content" |
|
| 65 |
+ android:elevation="@dimen/_4sdp" |
|
| 66 |
+ app:cardBackgroundColor="@color/about_icon_color" |
|
| 67 |
+ app:cardCornerRadius="@dimen/_16sdp" |
|
| 68 |
+ app:cardUseCompatPadding="false" |
|
| 69 |
+ app:layout_constraintEnd_toEndOf="parent" |
|
| 70 |
+ app:layout_constraintStart_toStartOf="parent" |
|
| 71 |
+ app:layout_constraintTop_toTopOf="@+id/guideline3"> |
|
| 72 |
+ |
|
| 73 |
+ <androidx.appcompat.widget.AppCompatImageView |
|
| 74 |
+ android:layout_width="wrap_content" |
|
| 75 |
+ android:layout_height="wrap_content" |
|
| 76 |
+ android:layout_margin="@dimen/_8sdp" |
|
| 77 |
+ android:src="@drawable/ic_logo_audio_note" /> |
|
| 78 |
+ |
|
| 79 |
+ </com.google.android.material.card.MaterialCardView> |
|
| 80 |
+ |
|
| 81 |
+ <com.google.android.material.textview.MaterialTextView |
|
| 82 |
+ android:id="@+id/materialTextView4" |
|
| 83 |
+ android:layout_width="wrap_content" |
|
| 84 |
+ android:layout_height="wrap_content" |
|
| 85 |
+ android:text="@string/app_name" |
|
| 86 |
+ android:fontFamily="@font/open_sans_bold" |
|
| 87 |
+ android:textColor="@color/black_day_white_night" |
|
| 88 |
+ android:textSize="@dimen/_14ssp" |
|
| 89 |
+ app:layout_constraintEnd_toEndOf="@+id/receiver_profile_image" |
|
| 90 |
+ app:layout_constraintStart_toStartOf="@+id/receiver_profile_image" |
|
| 91 |
+ app:layout_constraintTop_toBottomOf="@+id/receiver_profile_image" /> |
|
| 92 |
+ |
|
| 93 |
+ <com.google.android.material.textview.MaterialTextView |
|
| 94 |
+ android:id="@+id/materialTextView5" |
|
| 95 |
+ android:layout_width="wrap_content" |
|
| 96 |
+ android:layout_height="wrap_content" |
|
| 97 |
+ android:text="@string/app_version" |
|
| 98 |
+ android:fontFamily="@font/open_sans_regular" |
|
| 99 |
+ android:textSize="@dimen/_12ssp" |
|
| 100 |
+ app:layout_constraintEnd_toEndOf="parent" |
|
| 101 |
+ app:layout_constraintStart_toStartOf="parent" |
|
| 102 |
+ app:layout_constraintTop_toBottomOf="@+id/materialTextView4" /> |
|
| 103 |
+ |
|
| 104 |
+ <com.google.android.material.card.MaterialCardView |
|
| 105 |
+ android:layout_width="0dp" |
|
| 106 |
+ android:layout_height="wrap_content" |
|
| 107 |
+ android:layout_marginTop="@dimen/_16sdp" |
|
| 108 |
+ android:layout_marginStart="@dimen/_16sdp" |
|
| 109 |
+ android:layout_marginEnd="@dimen/_16sdp" |
|
| 110 |
+ app:cardBackgroundColor="@color/about_icon_color" |
|
| 111 |
+ app:cardCornerRadius="@dimen/_10sdp" |
|
| 112 |
+ android:elevation="@dimen/_4sdp" |
|
| 113 |
+ app:layout_constraintEnd_toEndOf="parent" |
|
| 114 |
+ app:layout_constraintStart_toStartOf="parent" |
|
| 115 |
+ app:layout_constraintTop_toBottomOf="@+id/materialTextView5"> |
|
| 116 |
+ |
|
| 117 |
+ <androidx.constraintlayout.widget.ConstraintLayout |
|
| 118 |
+ android:layout_width="match_parent" |
|
| 119 |
+ android:layout_height="match_parent"> |
|
| 120 |
+ |
|
| 121 |
+ <com.google.android.material.textview.MaterialTextView |
|
| 122 |
+ android:id="@+id/materialTextView7" |
|
| 123 |
+ android:layout_width="wrap_content" |
|
| 124 |
+ android:layout_marginTop="@dimen/_16sdp" |
|
| 125 |
+ android:layout_marginStart="@dimen/_16sdp" |
|
| 126 |
+ android:layout_height="wrap_content" |
|
| 127 |
+ android:text="@string/attributions_amp_licence" |
|
| 128 |
+ android:fontFamily="@font/open_sans_bold" |
|
| 129 |
+ android:textSize="@dimen/_16ssp" |
|
| 130 |
+ android:textColor="@color/black_day_white_night" |
|
| 131 |
+ app:layout_constraintStart_toStartOf="parent" |
|
| 132 |
+ app:layout_constraintTop_toTopOf="parent" /> |
|
| 133 |
+ |
|
| 134 |
+ <com.google.android.material.textview.MaterialTextView |
|
| 135 |
+ android:id="@+id/materialTextView6" |
|
| 136 |
+ android:layout_width="0dp" |
|
| 137 |
+ android:layout_height="wrap_content" |
|
| 138 |
+ android:layout_marginBottom="@dimen/_16sdp" |
|
| 139 |
+ android:text="@string/licenced_under_apache_licence_version_2_0" |
|
| 140 |
+ android:textSize="@dimen/_12ssp" |
|
| 141 |
+ android:fontFamily="@font/open_sans_regular" |
|
| 142 |
+ app:layout_constraintBottom_toBottomOf="parent" |
|
| 143 |
+ app:layout_constraintEnd_toEndOf="parent" |
|
| 144 |
+ app:layout_constraintStart_toStartOf="@+id/materialTextView7" |
|
| 145 |
+ app:layout_constraintTop_toBottomOf="@+id/materialTextView7" /> |
|
| 146 |
+ |
|
| 147 |
+ </androidx.constraintlayout.widget.ConstraintLayout> |
|
| 148 |
+ |
|
| 149 |
+ </com.google.android.material.card.MaterialCardView> |
|
| 150 |
+ |
|
| 151 |
+ </androidx.constraintlayout.widget.ConstraintLayout> |
|
| 152 |
+</layout> |
|
| 0 | 153 |
\ No newline at end of file |