国际化
This commit is contained in:
@@ -88,7 +88,7 @@
|
||||
android:id="@+id/tv_title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Welcome to use the [key of love] keyboard"
|
||||
android:text="@string/guide_chat_1"
|
||||
android:textColor="#929292"
|
||||
android:textSize="10sp" />
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:maxWidth="179dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:text="Click "Copy any conversation", "Paste" and try replying using the keyboard [Persona] method"
|
||||
android:text="@string/guide_chat_2"
|
||||
android:textColor="#929292"
|
||||
android:textSize="10sp"
|
||||
android:lineHeight="20dp" />
|
||||
@@ -183,9 +183,9 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="12dp"
|
||||
android:text="Please enter your content"
|
||||
android:text="@string/guide_input"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#CBCBCB"/>
|
||||
android:textColor="#ABABAB"/>
|
||||
</LinearLayout>
|
||||
</FrameLayout>
|
||||
<ImageView
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
|
||||
<TextView
|
||||
android:id="@+id/btnEnabledText"
|
||||
android:text="Enable it in Settings"
|
||||
android:text="@string/imguide_btn_1"
|
||||
android:textSize="13sp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
@@ -81,7 +81,7 @@
|
||||
|
||||
<TextView
|
||||
android:id="@+id/btnSelectText"
|
||||
android:text="Select an input method"
|
||||
android:text="@string/imguide_btn_2"
|
||||
android:textSize="13sp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/window_background"
|
||||
tools:context=".MainActivity">
|
||||
|
||||
<FrameLayout
|
||||
@@ -28,14 +29,22 @@
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
<eightbitlab.com.blurview.BlurView
|
||||
android:id="@+id/bottom_nav_blur"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/design_bottom_navigation_height"
|
||||
android:layout_gravity="bottom"
|
||||
android:visibility="gone"/>
|
||||
|
||||
<com.google.android.material.bottomnavigation.BottomNavigationView
|
||||
android:id="@+id/bottom_nav"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:background="@android:color/white"
|
||||
android:background="@android:color/transparent"
|
||||
app:menu="@menu/menu_bottom_nav"
|
||||
app:itemIconTint="@null"
|
||||
app:itemTextColor="@color/nav_text_color"/>
|
||||
app:itemTextColor="@color/nav_text_color"
|
||||
app:itemBackground="@android:color/transparent"/>
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
android:layout_gravity="center"
|
||||
android:background="@drawable/tv_skip_bg"
|
||||
android:gravity="center"
|
||||
android:text="Skip"
|
||||
android:text="@string/skip"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textSize="12sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
@@ -48,7 +48,7 @@
|
||||
android:layout_marginTop="30dp"
|
||||
android:elevation="2dp"
|
||||
android:gravity="center"
|
||||
android:text="Please select your gender"
|
||||
android:text="@string/gender_hint"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textSize="24sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
@@ -94,7 +94,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginEnd="60dp"
|
||||
android:text="Male"
|
||||
android:text="@string/gender_male"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textSize="20sp" />
|
||||
</LinearLayout>
|
||||
@@ -131,7 +131,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginStart="60dp"
|
||||
android:text="Female"
|
||||
android:text="@string/gender_female"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textSize="20sp" />
|
||||
</LinearLayout>
|
||||
@@ -175,7 +175,7 @@
|
||||
android:id="@+id/tv_male"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="The third gender"
|
||||
android:text="@string/gender_third"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textSize="20sp" />
|
||||
</LinearLayout>
|
||||
@@ -190,7 +190,7 @@
|
||||
android:id="@+id/tv_description"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="59dp"
|
||||
android:text="Turn on the keyboard"
|
||||
android:text="@string/gender_btn"
|
||||
android:layout_gravity="bottom"
|
||||
android:gravity="center"
|
||||
android:textColor="#FFFFFF"
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
android:id="@+id/tv_title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Delete character design?"
|
||||
android:text="@string/keyboard_delete_hint"
|
||||
android:textStyle="bold"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textSize="16sp" />
|
||||
@@ -20,7 +20,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:text="Are you sure you want to delete this character profile?"
|
||||
android:text="@string/keyboard_delete_hint_text"
|
||||
android:textColor="#6B7280"
|
||||
android:textSize="13sp" />
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="8dp"
|
||||
android:layout_weight="1"
|
||||
android:text="Prof."
|
||||
android:text=""
|
||||
android:textColor="#1B1F1A"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
@@ -62,7 +62,7 @@
|
||||
android:layout_height="42dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:text="Cancel"
|
||||
android:text="@string/cancel"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textSize="14sp"
|
||||
android:background="@drawable/my_keyboard_cancel" />
|
||||
@@ -74,7 +74,7 @@
|
||||
android:layout_weight="1"
|
||||
android:layout_marginStart="10dp"
|
||||
android:gravity="center"
|
||||
android:text="Delete"
|
||||
android:text="@string/delete"
|
||||
android:textColor="#FFFFFF"
|
||||
android:textSize="14sp"
|
||||
android:background="@drawable/my_keyboard_delete" />
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
<!-- 标题 -->
|
||||
<TextView
|
||||
android:text="Confirm logging out?"
|
||||
android:text="@string/Logout_confirm_title"
|
||||
android:textSize="18sp"
|
||||
android:textStyle="bold"
|
||||
android:textColor="#222222"
|
||||
@@ -19,7 +19,7 @@
|
||||
<!-- 描述 -->
|
||||
<TextView
|
||||
android:layout_marginTop="12dp"
|
||||
android:text="You will need to log in again after logging out"
|
||||
android:text="@string/Logout_confirm_msg"
|
||||
android:textSize="14sp"
|
||||
android:textColor="#666666"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
<TextView
|
||||
android:id="@+id/btn_cancel"
|
||||
android:text="Cancel"
|
||||
android:text="@string/cancel"
|
||||
android:textSize="14sp"
|
||||
android:textColor="#666666"
|
||||
android:padding="12dp"
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
<TextView
|
||||
android:id="@+id/btn_logout"
|
||||
android:text="Log out"
|
||||
android:text="@string/Logout_confirm_btn"
|
||||
android:textSize="14sp"
|
||||
android:textColor="#F44336"
|
||||
android:padding="12dp"
|
||||
|
||||
45
app/src/main/res/layout/dialog_no_network.xml
Normal file
45
app/src/main/res/layout/dialog_no_network.xml
Normal file
@@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:padding="24dp"
|
||||
android:minWidth="280dp"
|
||||
android:layout_gravity="center"
|
||||
android:background="@drawable/bg_dialog_no_network">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvTitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Network is unavailable"
|
||||
android:textAppearance="?attr/textAppearanceHeadline6"
|
||||
android:textColor="?attr/colorOnBackground" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvMessage"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:text="Please check the network connection and try again."
|
||||
android:textAppearance="?attr/textAppearanceBody2"
|
||||
android:textColor="?attr/colorOnBackground" />
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/btnDismiss"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="end"
|
||||
android:layout_marginTop="16dp"
|
||||
android:text="Understand"
|
||||
android:textColor="#FFFFFF"
|
||||
android:background="@drawable/bg_dialog_button"
|
||||
android:insetLeft="0dp"
|
||||
android:insetRight="0dp"
|
||||
android:insetTop="0dp"
|
||||
android:insetBottom="0dp"
|
||||
app:cornerRadius="5dp"
|
||||
app:backgroundTint="#02BEAC" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -19,7 +19,7 @@
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Purchase Confirmation"
|
||||
android:text="@string/detail_purchase_confirm"
|
||||
android:textSize="18sp"
|
||||
android:textStyle="bold"
|
||||
android:textColor="#1B1F1A"
|
||||
@@ -31,7 +31,7 @@
|
||||
android:id="@+id/tv_message"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Have you confirmed your purchase of this theme"
|
||||
android:text="@string/detail_purchase_confirm_msg"
|
||||
android:textSize="14sp"
|
||||
android:textColor="#666666"
|
||||
android:gravity="center"
|
||||
@@ -52,7 +52,7 @@
|
||||
android:layout_height="48dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:text="Cancel"
|
||||
android:text="@string/cancel"
|
||||
android:textSize="14sp"
|
||||
android:textColor="#999999"
|
||||
android:gravity="center"
|
||||
@@ -66,7 +66,7 @@
|
||||
android:layout_height="48dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginStart="8dp"
|
||||
android:text="Confirm"
|
||||
android:text="@string/confirm"
|
||||
android:textSize="14sp"
|
||||
android:textColor="#FFFFFF"
|
||||
android:gravity="center"
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
android:layout_marginEnd="49dp"
|
||||
android:gravity="center"
|
||||
android:textStyle="bold"
|
||||
android:text="Feedback"
|
||||
android:text="@string/feedback_title"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
@@ -64,14 +64,14 @@
|
||||
app:boxCornerRadiusBottomStart="8dp"
|
||||
app:boxCornerRadiusBottomEnd="8dp"
|
||||
app:hintTextColor="#02BEAC"
|
||||
app:placeholderText="Your Feedback">
|
||||
app:placeholderText="@string/feedback_input_hint_text">
|
||||
|
||||
<com.google.android.material.textfield.TextInputEditText
|
||||
android:id="@+id/et_feedback"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="200dp"
|
||||
android:gravity="top|start"
|
||||
android:hint="Please enter your feedback..."
|
||||
android:hint="@string/feedback_input_hint"
|
||||
android:padding="12dp"
|
||||
android:inputType="textMultiLine"
|
||||
android:minLines="4"
|
||||
@@ -94,7 +94,7 @@
|
||||
android:layout_height="45dp"
|
||||
android:gravity="center"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:text="Save"
|
||||
android:text="@string/save"
|
||||
android:textColor="#FFFFFF"
|
||||
android:textSize="16sp"
|
||||
android:background="@drawable/my_keyboard_delete"
|
||||
|
||||
41
app/src/main/res/layout/fragment_circle.xml
Normal file
41
app/src/main/res/layout/fragment_circle.xml
Normal file
@@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
||||
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:id="@+id/rootCoordinator"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".ui.circle.CircleFragment">
|
||||
|
||||
<!-- 背景图片 -->
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@drawable/a123123123"
|
||||
android:scaleType="fitXY"
|
||||
android:adjustViewBounds="true" />
|
||||
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fillViewport="true"
|
||||
android:overScrollMode="never">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:padding="16dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:textSize="24sp"
|
||||
android:text="布局"
|
||||
android:gravity="center"
|
||||
android:padding="16dp"/>
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
@@ -49,7 +49,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="18sp"
|
||||
android:textStyle="bold"
|
||||
android:text="Reset password"
|
||||
android:text="@string/forgot_password_title"
|
||||
android:textColor="#1B1F1A"/>
|
||||
|
||||
<EditText
|
||||
@@ -59,7 +59,7 @@
|
||||
android:layout_marginTop="20dp"
|
||||
android:background="@drawable/input_box_bg"
|
||||
android:padding="15dp"
|
||||
android:hint="Enter email address"
|
||||
android:hint="@string/register_input_email_hint"
|
||||
android:textColorHint="#CBCBCB"
|
||||
android:textSize="14sp"
|
||||
android:textColor="#CBCBCB" />
|
||||
@@ -74,7 +74,7 @@
|
||||
android:textStyle="bold"
|
||||
android:textColor="#FFFFFF"
|
||||
android:textSize="18sp"
|
||||
android:text="Next step" />
|
||||
android:text="@string/next" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="18sp"
|
||||
android:textStyle="bold"
|
||||
android:text="Reset password"
|
||||
android:text="@string/forgot_password_title"
|
||||
android:textColor="#1B1F1A"/>
|
||||
|
||||
<RelativeLayout
|
||||
@@ -64,7 +64,7 @@
|
||||
android:textSize="14sp"
|
||||
android:padding="15dp"
|
||||
android:textColor="#000000"
|
||||
android:hint="Enter password"
|
||||
android:hint="@string/register_input_password_hint"
|
||||
android:textColorHint="#CBCBCB"
|
||||
android:background="@null"
|
||||
android:inputType="textPassword" />
|
||||
@@ -90,7 +90,7 @@
|
||||
android:textSize="14sp"
|
||||
android:padding="15dp"
|
||||
android:textColor="#000000"
|
||||
android:hint="Enter repeat password"
|
||||
android:hint="@string/register_input_repeat_password_hint"
|
||||
android:textColorHint="#CBCBCB"
|
||||
android:background="@null"
|
||||
android:inputType="textPassword" />
|
||||
@@ -114,7 +114,7 @@
|
||||
android:textStyle="bold"
|
||||
android:textColor="#FFFFFF"
|
||||
android:textSize="18sp"
|
||||
android:text="Next step" />
|
||||
android:text="@string/next" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="18sp"
|
||||
android:textStyle="bold"
|
||||
android:text="Reset password"
|
||||
android:text="@string/forgot_password_title"
|
||||
android:textColor="#1B1F1A"/>
|
||||
|
||||
<TextView
|
||||
@@ -56,7 +56,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="13sp"
|
||||
android:textStyle="bold"
|
||||
android:text="Enter email verification code"
|
||||
android:text="@string/register_verification"
|
||||
android:textColor="#1B1F1A"/>
|
||||
|
||||
|
||||
@@ -115,7 +115,7 @@
|
||||
android:textStyle="bold"
|
||||
android:textColor="#FFFFFF"
|
||||
android:textSize="18sp"
|
||||
android:text="Next step" />
|
||||
android:text="@string/next" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
|
||||
@@ -48,7 +48,8 @@
|
||||
android:textStyle="bold"
|
||||
android:textColor="#1B1F1A"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:text="Become A Member Of LOVE KEY" />
|
||||
android:gravity="center"
|
||||
android:text="@string/home_member" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/Unlock"
|
||||
@@ -58,7 +59,7 @@
|
||||
android:textSize="14sp"
|
||||
android:textColor="#1B1F1A"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:text="Unlock all functions" />
|
||||
android:text="@string/home_unlock" />
|
||||
|
||||
<!-- 权益 -->
|
||||
<LinearLayout
|
||||
@@ -90,7 +91,7 @@
|
||||
android:textSize="12sp"
|
||||
android:gravity="center"
|
||||
android:textColor="#1B1F1A"
|
||||
android:text="Wireless sub-AI dialogue" />
|
||||
android:text="@string/home_ai_dialogue" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 权益2 -->
|
||||
@@ -114,7 +115,7 @@
|
||||
android:textSize="12sp"
|
||||
android:gravity="center"
|
||||
android:textColor="#1B1F1A"
|
||||
android:text="Personalized keyboard" />
|
||||
android:text="@string/home_ai_keyboard" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 权益3 -->
|
||||
@@ -138,7 +139,7 @@
|
||||
android:textSize="12sp"
|
||||
android:gravity="center"
|
||||
android:textColor="#1B1F1A"
|
||||
android:text="Chat persona" />
|
||||
android:text="@string/home_ai_persona" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 权益4 -->
|
||||
@@ -162,7 +163,7 @@
|
||||
android:textSize="12sp"
|
||||
android:gravity="center"
|
||||
android:textColor="#1B1F1A"
|
||||
android:text="Emotional counseling" />
|
||||
android:text="@string/home_ai_counseling" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
@@ -185,7 +186,7 @@
|
||||
android:textStyle="bold"
|
||||
android:gravity="center"
|
||||
android:textColor="#1B1F1A"
|
||||
android:text="Recharge now" />
|
||||
android:text="@string/home_recharge" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -260,7 +261,7 @@
|
||||
android:layout_weight="1"
|
||||
android:layout_marginEnd="20dp"
|
||||
android:gravity="center"
|
||||
android:text="Ranking List"
|
||||
android:text="@string/home_tab1"
|
||||
android:textSize="14sp"
|
||||
android:textStyle="bold"
|
||||
android:textColor="#1B1F1A" />
|
||||
@@ -272,7 +273,7 @@
|
||||
android:layout_weight="1"
|
||||
android:layout_marginStart="20dp"
|
||||
android:gravity="center"
|
||||
android:text="Persona circle"
|
||||
android:text="@string/home_tab2"
|
||||
android:textSize="14sp"
|
||||
android:textColor="#801B1F1A" />
|
||||
</LinearLayout>
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="30sp"
|
||||
android:text="Hello!"
|
||||
android:text="@string/login_hello"
|
||||
android:textStyle="bold"
|
||||
android:textColor="#403B5A" />
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
android:layout_width="130dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="14sp"
|
||||
android:text="Welcome to key of love keyboard"
|
||||
android:text="@string/login_hello_hint"
|
||||
android:textColor="#554F70" />
|
||||
</LinearLayout>
|
||||
|
||||
@@ -94,7 +94,7 @@
|
||||
android:textSize="18sp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:textStyle="bold"
|
||||
android:text="Log in to key of love"
|
||||
android:text="@string/login_input_title"
|
||||
android:textColor="#1B1F1A" />
|
||||
|
||||
<!-- 输入框 -->
|
||||
@@ -105,7 +105,7 @@
|
||||
android:layout_marginTop="20dp"
|
||||
android:background="@drawable/input_box_bg"
|
||||
android:padding="15dp"
|
||||
android:hint="Please enter your email address"
|
||||
android:hint="@string/login_input_Email_hint"
|
||||
android:textColorHint="#CBCBCB"
|
||||
android:textSize="14sp"
|
||||
android:textColor="#000000" />
|
||||
@@ -122,7 +122,7 @@
|
||||
android:textSize="14sp"
|
||||
android:padding="15dp"
|
||||
android:textColor="#000000"
|
||||
android:hint="Please enter the password"
|
||||
android:hint="@string/login_input_Password_hint"
|
||||
android:textColorHint="#CBCBCB"
|
||||
android:background="@null"
|
||||
android:inputType="textPassword" />
|
||||
@@ -146,7 +146,7 @@
|
||||
android:textStyle="bold"
|
||||
android:textColor="#FFFFFF"
|
||||
android:textSize="18sp"
|
||||
android:text="Login" />
|
||||
android:text="@string/login_input_btn" />
|
||||
|
||||
<com.google.android.flexbox.FlexboxLayout
|
||||
android:id="@+id/agreement_container"
|
||||
@@ -163,14 +163,14 @@
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="By Continuing, You Agree To Our "
|
||||
android:text="@string/terms_and_privacy_1"
|
||||
android:textSize="10sp"
|
||||
android:textColor="#554F70"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Terms Of Service "
|
||||
android:text="@string/terms_and_privacy_2"
|
||||
android:textStyle="bold"
|
||||
android:textSize="10sp"
|
||||
android:textColor="#554F70"/>
|
||||
@@ -178,21 +178,21 @@
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="And Confirm"
|
||||
android:text="@string/terms_and_privacy_3"
|
||||
android:textSize="10sp"
|
||||
android:textColor="#554F70"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="That You Have Read Our "
|
||||
android:text="@string/terms_and_privacy_4"
|
||||
android:textSize="10sp"
|
||||
android:textColor="#554F70"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Privacy Policy"
|
||||
android:text="@string/terms_and_privacy_5"
|
||||
android:textStyle="bold"
|
||||
android:textSize="10sp"
|
||||
android:textColor="#554F70"/>
|
||||
@@ -214,7 +214,7 @@
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Don't have an account?"
|
||||
android:text="@string/login_register_btn_hint_text"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#554F70"/>
|
||||
|
||||
@@ -223,7 +223,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:text="Sign up"
|
||||
android:text="@string/login_register_btn"
|
||||
android:textStyle="bold"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#02BEAC"/>
|
||||
@@ -232,7 +232,7 @@
|
||||
android:id="@+id/tv_forgot_password"
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Forgot password?"
|
||||
android:text="@string/login_forgot_password_btn"
|
||||
android:layout_marginTop="6dp"
|
||||
android:gravity="center"
|
||||
android:textStyle="bold"
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Personal"
|
||||
android:text="@string/mine_title_personal"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textStyle="bold"
|
||||
android:layout_weight="1"
|
||||
@@ -63,7 +63,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="5dp"
|
||||
android:text="My keyboard"
|
||||
android:text="@string/mine_my_keyboard"
|
||||
android:textColor="#FFFFFF"
|
||||
android:textSize="10sp" />
|
||||
</LinearLayout>
|
||||
@@ -105,7 +105,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/nickname"
|
||||
android:text="Username"
|
||||
android:text="@string/mine_username"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textStyle="bold"
|
||||
android:ellipsize="end"
|
||||
@@ -118,7 +118,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/time"
|
||||
android:text="Time"
|
||||
android:text="@string/mine_time"
|
||||
android:textColor="#A4A4A4"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
@@ -181,7 +181,7 @@
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:text="Consumption Record"
|
||||
android:text="@string/mine_consumption_record"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textStyle="bold"
|
||||
android:layout_weight="1"
|
||||
@@ -223,7 +223,49 @@
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:text="Notice"
|
||||
android:text="@string/mine_notice"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textStyle="bold"
|
||||
android:layout_weight="1"
|
||||
android:textSize="20sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="9dp"
|
||||
android:layout_height="13dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:src="@drawable/more_icons" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 语言 -->
|
||||
<LinearLayout
|
||||
android:id="@+id/click_Language"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="64dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:background="@drawable/settings"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
<ImageView
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="24dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:src="@drawable/ic_language" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:text="@string/mine_language"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textStyle="bold"
|
||||
android:layout_weight="1"
|
||||
@@ -265,7 +307,7 @@
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:text="Share app"
|
||||
android:text="@string/mine_share_app"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textStyle="bold"
|
||||
android:layout_weight="1"
|
||||
@@ -309,14 +351,14 @@
|
||||
android:src="@drawable/feedback" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:text="Feedback"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textStyle="bold"
|
||||
android:layout_weight="1"
|
||||
android:textSize="20sp" />
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:text="@string/mine_feedback"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textStyle="bold"
|
||||
android:layout_weight="1"
|
||||
android:textSize="20sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
@@ -348,14 +390,14 @@
|
||||
android:src="@drawable/e_mail" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:text="E-mail"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textStyle="bold"
|
||||
android:layout_weight="1"
|
||||
android:textSize="20sp" />
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:text="@string/mine_email"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textStyle="bold"
|
||||
android:layout_weight="1"
|
||||
android:textSize="20sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
@@ -387,14 +429,14 @@
|
||||
android:src="@drawable/agreement" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:text="Agreement"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textStyle="bold"
|
||||
android:layout_weight="1"
|
||||
android:textSize="20sp" />
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:text="@string/mine_agreement"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textStyle="bold"
|
||||
android:layout_weight="1"
|
||||
android:textSize="20sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
@@ -427,14 +469,14 @@
|
||||
android:src="@drawable/privacy_policy" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:text="Privacy Policy"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textStyle="bold"
|
||||
android:layout_weight="1"
|
||||
android:textSize="20sp" />
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:text="@string/mine_privacy_policy"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textStyle="bold"
|
||||
android:layout_weight="1"
|
||||
android:textSize="20sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
@@ -453,7 +495,7 @@
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:gravity="center"
|
||||
android:text="Log Out"
|
||||
android:text="@string/mine_logout"
|
||||
android:textColor="#FF0000"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold"
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="30sp"
|
||||
android:text="Hello!"
|
||||
android:text="@string/login_hello"
|
||||
android:textStyle="bold"
|
||||
android:textColor="#403B5A" />
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
android:layout_width="130dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="14sp"
|
||||
android:text="Welcome to key of love keyboard"
|
||||
android:text="@string/login_hello_hint"
|
||||
android:textColor="#554F70" />
|
||||
</LinearLayout>
|
||||
|
||||
@@ -94,7 +94,7 @@
|
||||
android:textSize="18sp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:textStyle="bold"
|
||||
android:text="Log in to key of love"
|
||||
android:text="@string/register_title"
|
||||
android:textColor="#1B1F1A" />
|
||||
|
||||
<!-- 输入框 -->
|
||||
@@ -104,7 +104,7 @@
|
||||
android:layout_height="52dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:background="@drawable/input_box_bg"
|
||||
android:hint="Enter email address"
|
||||
android:hint="@string/register_input_email_hint"
|
||||
android:textColorHint="#CBCBCB"
|
||||
android:padding="15dp"
|
||||
android:textSize="14sp"
|
||||
@@ -122,7 +122,7 @@
|
||||
android:textSize="14sp"
|
||||
android:padding="15dp"
|
||||
android:textColor="#000000"
|
||||
android:hint="Enter password"
|
||||
android:hint="@string/register_input_password_hint"
|
||||
android:textColorHint="#CBCBCB"
|
||||
android:background="@null"
|
||||
android:inputType="textPassword" />
|
||||
@@ -149,7 +149,7 @@
|
||||
android:padding="15dp"
|
||||
android:textColor="#000000"
|
||||
android:background="@null"
|
||||
android:hint="Enter Repeat password"
|
||||
android:hint="@string/register_input_repeat_password_hint"
|
||||
android:textColorHint="#CBCBCB"
|
||||
android:inputType="textPassword" />
|
||||
<ImageView
|
||||
@@ -172,7 +172,7 @@
|
||||
android:textStyle="bold"
|
||||
android:textColor="#FFFFFF"
|
||||
android:textSize="18sp"
|
||||
android:text="Next step" />
|
||||
android:text="@string/next" />
|
||||
|
||||
<com.google.android.flexbox.FlexboxLayout
|
||||
android:id="@+id/agreement_container"
|
||||
@@ -186,17 +186,17 @@
|
||||
app:justifyContent="center"
|
||||
app:alignItems="center">
|
||||
|
||||
<TextView
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="By Continuing, You Agree To Our "
|
||||
android:text="@string/terms_and_privacy_1"
|
||||
android:textSize="10sp"
|
||||
android:textColor="#554F70"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Terms Of Service "
|
||||
android:text="@string/terms_and_privacy_2"
|
||||
android:textStyle="bold"
|
||||
android:textSize="10sp"
|
||||
android:textColor="#554F70"/>
|
||||
@@ -204,21 +204,21 @@
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="And Confirm"
|
||||
android:text="@string/terms_and_privacy_3"
|
||||
android:textSize="10sp"
|
||||
android:textColor="#554F70"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="That You Have Read Our "
|
||||
android:text="@string/terms_and_privacy_4"
|
||||
android:textSize="10sp"
|
||||
android:textColor="#554F70"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Privacy Policy"
|
||||
android:text="@string/terms_and_privacy_5"
|
||||
android:textStyle="bold"
|
||||
android:textSize="10sp"
|
||||
android:textColor="#554F70"/>
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="18sp"
|
||||
android:textStyle="bold"
|
||||
android:text="Register"
|
||||
android:text="@string/register_register"
|
||||
android:textColor="#1B1F1A"/>
|
||||
|
||||
<TextView
|
||||
@@ -56,7 +56,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="13sp"
|
||||
android:textStyle="bold"
|
||||
android:text="Enter email verification code"
|
||||
android:text="@string/register_verification"
|
||||
android:textColor="#1B1F1A"/>
|
||||
|
||||
<TextView
|
||||
@@ -65,7 +65,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="13sp"
|
||||
android:textStyle="bold"
|
||||
android:text="Please enter the verification code sent to your email"
|
||||
android:text="@string/register_verification_hint"
|
||||
android:textColor="#02BEAC"/>
|
||||
|
||||
<!-- 验证码输入框 -->
|
||||
@@ -113,7 +113,7 @@
|
||||
android:textStyle="bold"
|
||||
android:textColor="#FFFFFF"
|
||||
android:textSize="18sp"
|
||||
android:text="Next step" />
|
||||
android:text="@string/next" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
|
||||
@@ -57,14 +57,14 @@
|
||||
android:layout_gravity="center"
|
||||
android:textSize="13sp"
|
||||
android:background="@null"
|
||||
android:hint="Themes" />
|
||||
android:hint="@string/search_hint" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_search"
|
||||
android:layout_width="76dp"
|
||||
android:layout_height="28dp"
|
||||
android:layout_gravity="center"
|
||||
android:text="Search"
|
||||
android:text="@string/search_search"
|
||||
android:gravity="center"
|
||||
android:background="@drawable/my_keyboard_delete"
|
||||
android:layout_marginEnd="4dp"
|
||||
@@ -91,7 +91,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:textStyle="bold"
|
||||
android:text="Historical search"
|
||||
android:text="@string/search_historical"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textSize="14sp" />
|
||||
|
||||
@@ -131,7 +131,7 @@
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Recommended skins"
|
||||
android:text="@string/recommended"
|
||||
android:textStyle="bold"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textSize="14sp" />
|
||||
|
||||
@@ -57,14 +57,14 @@
|
||||
android:layout_gravity="center"
|
||||
android:textSize="13sp"
|
||||
android:background="@null"
|
||||
android:hint="Themes" />
|
||||
android:hint="@string/search_hint"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_search"
|
||||
android:layout_width="76dp"
|
||||
android:layout_height="28dp"
|
||||
android:layout_gravity="center"
|
||||
android:text="Search"
|
||||
android:text="@string/search_search"
|
||||
android:gravity="center"
|
||||
android:background="@drawable/my_keyboard_delete"
|
||||
android:layout_marginEnd="4dp"
|
||||
@@ -96,7 +96,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:text="No data available for the time being"
|
||||
android:text="@string/search_not_data"
|
||||
android:textColor="#999999"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="6dp"
|
||||
android:layout_marginStart="6dp"
|
||||
android:text="Points Mall"
|
||||
android:text="@string/shop_mall"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textStyle="bold"
|
||||
android:textSize="22sp" />
|
||||
@@ -142,7 +142,7 @@
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="My points"
|
||||
android:text="@string/shop_points"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textSize="14sp"
|
||||
android:padding="20dp" />
|
||||
@@ -187,7 +187,7 @@
|
||||
android:textStyle="bold"
|
||||
android:gravity="center"
|
||||
android:textColor="#1B1F1A"
|
||||
android:text="Recharge" />
|
||||
android:text="@string/shop_recharge" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
@@ -107,7 +107,7 @@
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Recommended skins"
|
||||
android:text="@string/recommended"
|
||||
android:textStyle="bold"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textSize="14sp" />
|
||||
@@ -145,7 +145,7 @@
|
||||
android:textStyle="bold"
|
||||
android:gravity="center"
|
||||
android:textColor="#FFFFFF"
|
||||
android:text="Download" />
|
||||
android:text="@string/detail_download_btn" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="17dp"
|
||||
@@ -196,7 +196,7 @@
|
||||
android:textStyle="bold"
|
||||
android:gravity="center"
|
||||
android:textColor="#FFFFFF"
|
||||
android:text="Enabled" />
|
||||
android:text="@string/detail_enabled" />
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
77
app/src/main/res/layout/language_fragment.xml
Normal file
77
app/src/main/res/layout/language_fragment.xml
Normal file
@@ -0,0 +1,77 @@
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
||||
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:id="@+id/rootCoordinator"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#F6F7FB"
|
||||
tools:context=".ui.mine.myotherpages.LanguageFragment">
|
||||
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fillViewport="true"
|
||||
android:overScrollMode="never">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical"
|
||||
android:padding="16dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical">
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/iv_close"
|
||||
android:layout_width="46dp"
|
||||
android:layout_height="46dp">
|
||||
<ImageView
|
||||
android:layout_width="13dp"
|
||||
android:layout_height="13dp"
|
||||
android:layout_gravity="center"
|
||||
android:src="@drawable/more_icons"
|
||||
android:rotation="180"
|
||||
android:scaleType="fitCenter" />
|
||||
</FrameLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_language_title"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginEnd="49dp"
|
||||
android:gravity="center"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/language_title"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/language_options_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="20dp"
|
||||
android:orientation="vertical"
|
||||
android:background="@drawable/settings"
|
||||
android:paddingTop="4dp"
|
||||
android:paddingBottom="4dp">
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/rg_languages"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="4dp"
|
||||
android:paddingBottom="4dp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
@@ -36,7 +36,7 @@
|
||||
android:layout_marginEnd="49dp"
|
||||
android:gravity="center"
|
||||
android:textStyle="bold"
|
||||
android:text="Consumption record"
|
||||
android:text="@string/consumption_title"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
@@ -58,7 +58,7 @@
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="My points"
|
||||
android:text="@string/shop_points"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textSize="14sp"
|
||||
android:padding="20dp" />
|
||||
@@ -103,7 +103,7 @@
|
||||
android:textStyle="bold"
|
||||
android:gravity="center"
|
||||
android:textColor="#1B1F1A"
|
||||
android:text="Recharge" />
|
||||
android:text="@string/shop_recharge" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
@@ -127,7 +127,7 @@
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Consumption Details"
|
||||
android:text="@string/consumption_details"
|
||||
android:textStyle="bold"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textSize="14sp" />
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
android:layout_marginEnd="49dp"
|
||||
android:gravity="center"
|
||||
android:textStyle="bold"
|
||||
android:text="My keyboard"
|
||||
android:text="@string/keyboard_title"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
@@ -88,7 +88,7 @@
|
||||
android:layout_marginBottom="16dp"
|
||||
android:layout_gravity="bottom|center_horizontal"
|
||||
android:gravity="center"
|
||||
android:text="Save"
|
||||
android:text="@string/save"
|
||||
android:textColor="#FFFFFF"
|
||||
android:textSize="16sp"
|
||||
android:background="@drawable/my_keyboard_delete"
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:textStyle="bold"
|
||||
android:text="MySkin"
|
||||
android:text="@string/skin_title"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textSize="16sp" />
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
android:layout_marginEnd="4dp"
|
||||
android:gravity="center"
|
||||
android:textStyle="bold"
|
||||
android:text="Editor"
|
||||
android:text="@string/skin_editor"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textSize="13sp" />
|
||||
</LinearLayout>
|
||||
@@ -94,7 +94,7 @@
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="0 themes selected"
|
||||
android:text="@string/skin_select"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textSize="14sp"
|
||||
android:textStyle="bold"/>
|
||||
@@ -106,7 +106,7 @@
|
||||
android:gravity="center"
|
||||
android:paddingStart="14dp"
|
||||
android:paddingEnd="14dp"
|
||||
android:text="Delete"
|
||||
android:text="@string/delete"
|
||||
android:textColor="#FFFFFF"
|
||||
android:textStyle="bold"
|
||||
android:background="@drawable/bg_delete_btn"/>
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
android:layout_marginEnd="49dp"
|
||||
android:gravity="center"
|
||||
android:textStyle="bold"
|
||||
android:text="Notice"
|
||||
android:text="@string/mine_notice"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
@@ -67,15 +67,15 @@
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:text="Notifycation Setting"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textStyle="bold"
|
||||
android:layout_weight="1"
|
||||
android:textSize="20sp" />
|
||||
</LinearLayout>
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:text="@string/notification_settings"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textStyle="bold"
|
||||
android:layout_weight="1"
|
||||
android:textSize="20sp" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<androidx.appcompat.widget.SwitchCompat
|
||||
@@ -91,4 +91,4 @@
|
||||
|
||||
</LinearLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
android:layout_marginEnd="49dp"
|
||||
android:gravity="center"
|
||||
android:textStyle="bold"
|
||||
android:text="Settings"
|
||||
android:text="@string/personal_settings_title"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
@@ -109,7 +109,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
android:text="Nickname"
|
||||
android:text="@string/personal_settings_nickname"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textStyle="bold"
|
||||
android:textSize="16sp" />
|
||||
@@ -153,7 +153,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
android:text="Gender"
|
||||
android:text="@string/personal_settings_gender"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textStyle="bold"
|
||||
android:textSize="16sp" />
|
||||
@@ -197,7 +197,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
android:text="User ID"
|
||||
android:text="UID"
|
||||
android:textColor="#1B1F1A"
|
||||
android:textStyle="bold"
|
||||
android:textSize="16sp" />
|
||||
|
||||
@@ -19,7 +19,7 @@ xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Change the nickname"
|
||||
android:text="@string/personal_settings_nickname_input"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold"
|
||||
android:textColor="#1B1F1A"/>
|
||||
@@ -55,7 +55,7 @@ xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="45dp"
|
||||
android:gravity="center"
|
||||
android:text="Save"
|
||||
android:text="@string/save"
|
||||
android:textColor="#FFFFFF"
|
||||
android:background="@drawable/keyboard_ettings"/>
|
||||
</LinearLayout>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Modify gender"
|
||||
android:text="@string/personal_settings_gender_input"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold"
|
||||
android:textColor="#1B1F1A"/>
|
||||
@@ -70,7 +70,7 @@
|
||||
android:layout_height="45dp"
|
||||
android:layout_marginTop="43dp"
|
||||
android:gravity="center"
|
||||
android:text="Save"
|
||||
android:text="@string/save"
|
||||
android:textColor="#FFFFFF"
|
||||
android:background="@drawable/keyboard_ettings"/>
|
||||
</LinearLayout>
|
||||
|
||||
Reference in New Issue
Block a user