6.6.4 - Alpha - 关于应用与开发者页面增加布局适配通用性并去除不必要的布局分类
This commit is contained in:
@@ -9,10 +9,10 @@
|
||||
"Android 15 部分页面状态栏背景着色区域不完整的问题 _[`issue #398`](http://issues.autojs6.com/398)_"
|
||||
],
|
||||
"improvement": [
|
||||
|
||||
"关于应用与开发者页面增加布局适配通用性并去除不必要的布局分类"
|
||||
],
|
||||
"dependency": [
|
||||
|
||||
"附加 Androidx ConstraintLayout 版本 2.2.1"
|
||||
]
|
||||
},
|
||||
"v6.6.3": {
|
||||
|
||||
@@ -53,6 +53,9 @@ dependencies /* Unclassified */ {
|
||||
// SwipeRefreshLayout
|
||||
implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.1.0")
|
||||
|
||||
// ConstraintLayout
|
||||
implementation("androidx.constraintlayout:constraintlayout:2.2.1")
|
||||
|
||||
// FlexboxLayout
|
||||
implementation("com.google.android.flexbox:flexbox:3.0.0")
|
||||
|
||||
|
||||
@@ -1,310 +0,0 @@
|
||||
<?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"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fitsSystemWindows="true"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.google.android.material.appbar.AppBarLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:theme="@style/AppTheme.AppBarOverlay"
|
||||
android:fitsSystemWindows="true">
|
||||
|
||||
<org.autojs.autojs.theme.widget.ThemeColorToolbar
|
||||
android:id="@+id/toolbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?attr/actionBarSize"
|
||||
android:background="?attr/colorPrimary"
|
||||
android:theme="@style/ToolBarStyle"
|
||||
app:popupTheme="@style/AppTheme.PopupOverlay"
|
||||
app:title="@string/text_about" />
|
||||
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginVertical="16dp"
|
||||
android:layout_marginHorizontal="4dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/icon_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="210dp"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:background="@android:color/transparent"
|
||||
android:foreground="?selectableItemBackgroundBorderless">
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<com.jaredrummler.android.widget.AnimatedSvgView
|
||||
android:id="@+id/icon_about_app_svg_view"
|
||||
android:layout_width="91dp"
|
||||
android:layout_height="91dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_margin="10dp"
|
||||
app:animatedSvgFillColors="@array/icon_about_app_svg_view_fill_colors"
|
||||
app:animatedSvgGlyphStrings="@array/icon_about_app_svg_view_paths"
|
||||
app:animatedSvgTraceColors="@array/icon_about_app_svg_view_trace_colors"
|
||||
app:animatedSvgTraceResidueColors="@array/icon_about_app_svg_view_trace_residue_colors"
|
||||
app:animatedSvgImageSizeX="576"
|
||||
app:animatedSvgImageSizeY="576"
|
||||
app:animatedSvgFillStart="200"
|
||||
app:animatedSvgFillTime="200"
|
||||
app:animatedSvgTraceTime="500"
|
||||
app:animatedSvgTraceTimePerGlyph="500" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/icon_about_app"
|
||||
android:visibility="invisible"
|
||||
android:layout_width="91dp"
|
||||
android:layout_height="91dp"
|
||||
android:layout_margin="10dp"
|
||||
android:src="@drawable/autojs6_material"
|
||||
tools:ignore="ContentDescription,ImageContrastCheck" />
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="50dp"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/version"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/about_app_version_info"
|
||||
android:textSize="16sp"
|
||||
android:text="@string/text_sample_string" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/since"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/about_app_version_info"
|
||||
android:textSize="13sp"
|
||||
android:text="@string/text_sample_string" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="16dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="62dp"
|
||||
android:layout_marginHorizontal="16dp"
|
||||
android:layout_marginVertical="12dp"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:baselineAligned="false">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/avatar_original_developer"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="center"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
|
||||
<de.hdodenhof.circleimageview.CircleImageView
|
||||
android:layout_width="@dimen/about_item_avatar_side_length"
|
||||
android:layout_height="@dimen/about_item_avatar_side_length"
|
||||
android:src="@drawable/avatar_original_developer"
|
||||
android:contentDescription="avatar_original_developer"
|
||||
app:civ_border_width="@dimen/github_avatar_border_width"
|
||||
app:civ_border_color="@color/github_avatar_border" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/avatar_original_developer_user_contents"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="@dimen/about_item_avatar_side_length"
|
||||
android:layout_marginHorizontal="12dp"
|
||||
android:paddingTop="0.8dp"
|
||||
android:background="?selectableItemBackground"
|
||||
android:orientation="vertical"
|
||||
android:clickable="true"
|
||||
android:focusable="true">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/original_developer_full_name"
|
||||
android:textColor="@color/github_color_fg_default"
|
||||
android:textSize="@dimen/github_font_size_full_name" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/original_developer_nickname"
|
||||
android:textColor="@color/github_color_fg_muted"
|
||||
android:textSize="@dimen/github_font_size_nickname" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/icon_1st_developer_identifier"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="end"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/icon_developer_identifier_image_side_length"
|
||||
android:layout_height="@dimen/icon_developer_identifier_image_side_length"
|
||||
android:padding="@dimen/icon_developer_identifier_image_padding"
|
||||
android:layout_gravity="center"
|
||||
android:src="@drawable/ic_looks_1_black_48dp"
|
||||
app:tint="@color/tint_1st_developer_identifier"
|
||||
android:contentDescription="icon_1st_developer_identifier" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="62dp"
|
||||
android:layout_marginHorizontal="16dp"
|
||||
android:layout_marginVertical="12dp"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:baselineAligned="false">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/avatar_developer"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="center"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
|
||||
<de.hdodenhof.circleimageview.CircleImageView
|
||||
android:layout_width="@dimen/about_item_avatar_side_length"
|
||||
android:layout_height="@dimen/about_item_avatar_side_length"
|
||||
android:src="@drawable/avatar_developer"
|
||||
android:contentDescription="avatar_developer"
|
||||
app:civ_border_width="@dimen/github_avatar_border_width"
|
||||
app:civ_border_color="@color/github_avatar_border" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/avatar_developer_user_contents"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="@dimen/about_item_avatar_side_length"
|
||||
android:layout_marginHorizontal="12dp"
|
||||
android:paddingTop="0.8dp"
|
||||
android:background="?selectableItemBackground"
|
||||
android:orientation="vertical"
|
||||
android:clickable="true"
|
||||
android:focusable="true">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/developer_full_name"
|
||||
android:textColor="@color/github_color_fg_default"
|
||||
android:textSize="@dimen/github_font_size_full_name" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/developer_nickname"
|
||||
android:textColor="@color/github_color_fg_muted"
|
||||
android:textSize="@dimen/github_font_size_nickname" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/icon_2nd_developer_identifier"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="end"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/icon_developer_identifier_image_side_length"
|
||||
android:layout_height="@dimen/icon_developer_identifier_image_side_length"
|
||||
android:padding="@dimen/icon_developer_identifier_image_padding"
|
||||
android:layout_gravity="center"
|
||||
android:src="@drawable/ic_looks_2_black_48dp"
|
||||
app:tint="@color/tint_2nd_developer_identifier"
|
||||
android:contentDescription="icon_2nd_developer_identifier" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center|bottom">
|
||||
|
||||
<include
|
||||
android:id="@+id/activity_about_function_buttons"
|
||||
layout="@layout/activity_about_function_buttons"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal" />
|
||||
|
||||
<org.autojs.autojs.ui.widget.CopyrightTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:layout_marginTop="20dp"
|
||||
tools:text="@string/text_copyright_sample"
|
||||
android:textColor="@color/prefTextColorPrimary"
|
||||
android:textSize="14sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
@@ -32,21 +32,22 @@
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="4dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_weight="15"
|
||||
android:gravity="center"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/icon_1st_developer_container"
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginHorizontal="16dp"
|
||||
android:layout_marginEnd="32dp"
|
||||
android:background="?selectableItemBackground"
|
||||
android:baselineAligned="false"
|
||||
android:gravity="center"
|
||||
@@ -65,7 +66,7 @@
|
||||
<ImageView
|
||||
android:layout_width="@dimen/icon_developer_identifier_image_side_length_compact"
|
||||
android:layout_height="@dimen/icon_developer_identifier_image_side_length_compact"
|
||||
android:padding="@dimen/icon_developer_identifier_image_padding_compact"
|
||||
android:padding="@dimen/icon_developer_identifier_image_padding"
|
||||
android:layout_gravity="center"
|
||||
android:src="@drawable/ic_looks_1_black_48dp"
|
||||
app:tint="@color/tint_1st_developer_identifier"
|
||||
@@ -80,12 +81,11 @@
|
||||
android:background="?selectableItemBackground"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<de.hdodenhof.circleimageview.CircleImageView
|
||||
android:layout_width="@dimen/about_item_avatar_side_length_land_compact"
|
||||
android:layout_height="@dimen/about_item_avatar_side_length_land_compact"
|
||||
android:layout_width="@dimen/about_item_avatar_side_length_land"
|
||||
android:layout_height="@dimen/about_item_avatar_side_length_land"
|
||||
android:src="@drawable/avatar_original_developer"
|
||||
android:contentDescription="avatar_original_developer"
|
||||
app:civ_border_width="@dimen/github_avatar_border_width"
|
||||
@@ -111,7 +111,7 @@
|
||||
android:maxLines="1"
|
||||
android:text="@string/original_developer_full_name"
|
||||
android:textColor="@color/github_color_fg_default"
|
||||
android:textSize="@dimen/github_font_size_full_name"
|
||||
android:textSize="@dimen/github_font_size_full_name_compat"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
@@ -122,7 +122,7 @@
|
||||
android:maxLines="1"
|
||||
android:text="@string/original_developer_nickname"
|
||||
android:textColor="@color/github_color_fg_muted"
|
||||
android:textSize="@dimen/github_font_size_nickname" />
|
||||
android:textSize="@dimen/github_font_size_nickname_compat" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -144,10 +144,10 @@
|
||||
|
||||
<com.jaredrummler.android.widget.AnimatedSvgView
|
||||
android:id="@+id/icon_about_app_svg_view"
|
||||
android:layout_width="86dp"
|
||||
android:layout_height="86dp"
|
||||
android:layout_width="82dp"
|
||||
android:layout_height="82dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_margin="9dp"
|
||||
android:layout_margin="8dp"
|
||||
app:animatedSvgFillColors="@array/icon_about_app_svg_view_fill_colors"
|
||||
app:animatedSvgGlyphStrings="@array/icon_about_app_svg_view_paths"
|
||||
app:animatedSvgTraceColors="@array/icon_about_app_svg_view_trace_colors"
|
||||
@@ -163,9 +163,9 @@
|
||||
android:id="@+id/icon_about_app"
|
||||
android:visibility="invisible"
|
||||
tools:visibility="visible"
|
||||
android:layout_width="86dp"
|
||||
android:layout_height="86dp"
|
||||
android:layout_margin="9dp"
|
||||
android:layout_width="82dp"
|
||||
android:layout_height="82dp"
|
||||
android:layout_margin="8dp"
|
||||
android:src="@drawable/autojs6_material"
|
||||
tools:ignore="ContentDescription,ImageContrastCheck" />
|
||||
|
||||
@@ -173,7 +173,7 @@
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="47dp"
|
||||
android:layout_height="40dp"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center">
|
||||
|
||||
@@ -184,7 +184,7 @@
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/about_app_version_info"
|
||||
android:textSize="16sp"
|
||||
android:textSize="14sp"
|
||||
android:text="@string/text_sample_string" />
|
||||
|
||||
<TextView
|
||||
@@ -194,7 +194,7 @@
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/about_app_version_info"
|
||||
android:textSize="13sp"
|
||||
android:textSize="11sp"
|
||||
android:text="@string/text_sample_string" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -202,10 +202,11 @@
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/icon_2nd_developer_container"
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginHorizontal="16dp"
|
||||
android:layout_marginStart="32dp"
|
||||
android:background="?selectableItemBackground"
|
||||
android:baselineAligned="false"
|
||||
android:gravity="center"
|
||||
@@ -224,7 +225,7 @@
|
||||
<ImageView
|
||||
android:layout_width="@dimen/icon_developer_identifier_image_side_length_compact"
|
||||
android:layout_height="@dimen/icon_developer_identifier_image_side_length_compact"
|
||||
android:padding="@dimen/icon_developer_identifier_image_padding_compact"
|
||||
android:padding="@dimen/icon_developer_identifier_image_padding"
|
||||
android:layout_gravity="center"
|
||||
android:src="@drawable/ic_looks_2_black_48dp"
|
||||
app:tint="@color/tint_2nd_developer_identifier"
|
||||
@@ -243,8 +244,8 @@
|
||||
android:orientation="horizontal">
|
||||
|
||||
<de.hdodenhof.circleimageview.CircleImageView
|
||||
android:layout_width="@dimen/about_item_avatar_side_length_land_compact"
|
||||
android:layout_height="@dimen/about_item_avatar_side_length_land_compact"
|
||||
android:layout_width="@dimen/about_item_avatar_side_length_land"
|
||||
android:layout_height="@dimen/about_item_avatar_side_length_land"
|
||||
android:src="@drawable/avatar_developer"
|
||||
android:contentDescription="avatar_developer"
|
||||
app:civ_border_width="@dimen/github_avatar_border_width"
|
||||
@@ -270,7 +271,7 @@
|
||||
android:maxLines="1"
|
||||
android:text="@string/developer_full_name"
|
||||
android:textColor="@color/github_color_fg_default"
|
||||
android:textSize="@dimen/github_font_size_full_name"
|
||||
android:textSize="@dimen/github_font_size_full_name_compat"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
@@ -281,7 +282,7 @@
|
||||
android:maxLines="1"
|
||||
android:text="@string/developer_nickname"
|
||||
android:textColor="@color/github_color_fg_muted"
|
||||
android:textSize="@dimen/github_font_size_nickname" />
|
||||
android:textSize="@dimen/github_font_size_nickname_compat" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -291,29 +292,29 @@
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="32dp"
|
||||
android:layout_weight="4.5"
|
||||
android:orientation="vertical"
|
||||
android:layout_gravity="bottom"
|
||||
android:gravity="center">
|
||||
|
||||
<include
|
||||
android:id="@+id/activity_about_function_buttons"
|
||||
layout="@layout/activity_about_function_buttons"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal" />
|
||||
|
||||
<org.autojs.autojs.ui.widget.CopyrightTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:layout_marginVertical="2dp"
|
||||
tools:text="@string/text_copyright_sample"
|
||||
android:textColor="@color/prefTextColorPrimary"
|
||||
android:textSize="13sp" />
|
||||
android:layout_gravity="center" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<org.autojs.autojs.ui.widget.CopyrightTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0.5"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/prefTextColorPrimary"
|
||||
android:textSize="13sp"
|
||||
tools:text="@string/text_copyright_sample" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -32,21 +32,23 @@
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="8dp"
|
||||
android:layout_margin="4dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_weight="15"
|
||||
android:gravity="center"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/icon_1st_developer_container"
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginHorizontal="16dp"
|
||||
android:layout_marginEnd="32dp"
|
||||
android:background="?selectableItemBackground"
|
||||
android:baselineAligned="false"
|
||||
android:gravity="center"
|
||||
@@ -80,7 +82,6 @@
|
||||
android:background="?selectableItemBackground"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<de.hdodenhof.circleimageview.CircleImageView
|
||||
@@ -147,7 +148,7 @@
|
||||
android:layout_width="91dp"
|
||||
android:layout_height="91dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_margin="10dp"
|
||||
android:layout_margin="12dp"
|
||||
app:animatedSvgFillColors="@array/icon_about_app_svg_view_fill_colors"
|
||||
app:animatedSvgGlyphStrings="@array/icon_about_app_svg_view_paths"
|
||||
app:animatedSvgTraceColors="@array/icon_about_app_svg_view_trace_colors"
|
||||
@@ -165,7 +166,7 @@
|
||||
tools:visibility="visible"
|
||||
android:layout_width="91dp"
|
||||
android:layout_height="91dp"
|
||||
android:layout_margin="10dp"
|
||||
android:layout_margin="12dp"
|
||||
android:src="@drawable/autojs6_material"
|
||||
tools:ignore="ContentDescription,ImageContrastCheck" />
|
||||
|
||||
@@ -173,7 +174,7 @@
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="50dp"
|
||||
android:layout_height="47dp"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center">
|
||||
|
||||
@@ -202,10 +203,11 @@
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/icon_2nd_developer_container"
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginHorizontal="16dp"
|
||||
android:layout_marginStart="32dp"
|
||||
android:background="?selectableItemBackground"
|
||||
android:baselineAligned="false"
|
||||
android:gravity="center"
|
||||
@@ -289,31 +291,36 @@
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<Space
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="4dp"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="36dp"
|
||||
android:layout_weight="5"
|
||||
android:orientation="vertical"
|
||||
android:layout_gravity="bottom"
|
||||
android:gravity="center">
|
||||
|
||||
<include
|
||||
android:id="@+id/activity_about_function_buttons"
|
||||
layout="@layout/activity_about_function_buttons"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal" />
|
||||
|
||||
<org.autojs.autojs.ui.widget.CopyrightTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:layout_marginTop="9dp"
|
||||
tools:text="@string/text_copyright_sample"
|
||||
android:textColor="@color/prefTextColorPrimary"
|
||||
android:textSize="14sp" />
|
||||
android:layout_gravity="center" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<org.autojs.autojs.ui.widget.CopyrightTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/prefTextColorPrimary"
|
||||
android:textSize="13sp"
|
||||
tools:text="@string/text_copyright_sample" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -1,309 +0,0 @@
|
||||
<?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"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fitsSystemWindows="true"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.google.android.material.appbar.AppBarLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:theme="@style/AppTheme.AppBarOverlay"
|
||||
android:fitsSystemWindows="true">
|
||||
|
||||
<org.autojs.autojs.theme.widget.ThemeColorToolbar
|
||||
android:id="@+id/toolbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?attr/actionBarSize"
|
||||
android:background="?attr/colorPrimary"
|
||||
android:theme="@style/ToolBarStyle"
|
||||
app:popupTheme="@style/AppTheme.PopupOverlay"
|
||||
app:title="@string/text_about" />
|
||||
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="16dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/icon_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="210dp"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:background="@android:color/transparent"
|
||||
android:foreground="?selectableItemBackgroundBorderless">
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<com.jaredrummler.android.widget.AnimatedSvgView
|
||||
android:id="@+id/icon_about_app_svg_view"
|
||||
android:layout_width="91dp"
|
||||
android:layout_height="91dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_margin="10dp"
|
||||
app:animatedSvgFillColors="@array/icon_about_app_svg_view_fill_colors"
|
||||
app:animatedSvgGlyphStrings="@array/icon_about_app_svg_view_paths"
|
||||
app:animatedSvgTraceColors="@array/icon_about_app_svg_view_trace_colors"
|
||||
app:animatedSvgTraceResidueColors="@array/icon_about_app_svg_view_trace_residue_colors"
|
||||
app:animatedSvgImageSizeX="576"
|
||||
app:animatedSvgImageSizeY="576"
|
||||
app:animatedSvgFillStart="200"
|
||||
app:animatedSvgFillTime="200"
|
||||
app:animatedSvgTraceTime="500"
|
||||
app:animatedSvgTraceTimePerGlyph="500" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/icon_about_app"
|
||||
android:visibility="invisible"
|
||||
android:layout_width="91dp"
|
||||
android:layout_height="91dp"
|
||||
android:layout_margin="10dp"
|
||||
android:src="@drawable/autojs6_material"
|
||||
tools:ignore="ContentDescription,ImageContrastCheck" />
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="50dp"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/version"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/about_app_version_info"
|
||||
android:textSize="16sp"
|
||||
android:text="@string/text_sample_string" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/since"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/about_app_version_info"
|
||||
android:textSize="13sp"
|
||||
android:text="@string/text_sample_string" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="16dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="62dp"
|
||||
android:layout_marginHorizontal="16dp"
|
||||
android:layout_marginVertical="12dp"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:baselineAligned="false">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/avatar_original_developer"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="center"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
|
||||
<de.hdodenhof.circleimageview.CircleImageView
|
||||
android:layout_width="@dimen/about_item_avatar_side_length"
|
||||
android:layout_height="@dimen/about_item_avatar_side_length"
|
||||
android:src="@drawable/avatar_original_developer"
|
||||
android:contentDescription="avatar_original_developer"
|
||||
app:civ_border_width="@dimen/github_avatar_border_width"
|
||||
app:civ_border_color="@color/github_avatar_border" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/avatar_original_developer_user_contents"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="@dimen/about_item_avatar_side_length"
|
||||
android:layout_marginHorizontal="12dp"
|
||||
android:paddingTop="0.8dp"
|
||||
android:background="?selectableItemBackground"
|
||||
android:orientation="vertical"
|
||||
android:clickable="true"
|
||||
android:focusable="true">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/original_developer_full_name"
|
||||
android:textColor="@color/github_color_fg_default"
|
||||
android:textSize="@dimen/github_font_size_full_name" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/original_developer_nickname"
|
||||
android:textColor="@color/github_color_fg_muted"
|
||||
android:textSize="@dimen/github_font_size_nickname" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/icon_1st_developer_identifier"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="end"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/icon_developer_identifier_image_side_length"
|
||||
android:layout_height="@dimen/icon_developer_identifier_image_side_length"
|
||||
android:padding="@dimen/icon_developer_identifier_image_padding"
|
||||
android:layout_gravity="center"
|
||||
android:src="@drawable/ic_looks_1_black_48dp"
|
||||
app:tint="@color/tint_1st_developer_identifier"
|
||||
android:contentDescription="icon_1st_developer_identifier" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="62dp"
|
||||
android:layout_marginHorizontal="16dp"
|
||||
android:layout_marginVertical="12dp"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:baselineAligned="false">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/avatar_developer"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="center"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
|
||||
<de.hdodenhof.circleimageview.CircleImageView
|
||||
android:layout_width="@dimen/about_item_avatar_side_length"
|
||||
android:layout_height="@dimen/about_item_avatar_side_length"
|
||||
android:src="@drawable/avatar_developer"
|
||||
android:contentDescription="avatar_developer"
|
||||
app:civ_border_width="@dimen/github_avatar_border_width"
|
||||
app:civ_border_color="@color/github_avatar_border" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/avatar_developer_user_contents"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="@dimen/about_item_avatar_side_length"
|
||||
android:layout_marginHorizontal="12dp"
|
||||
android:paddingTop="0.8dp"
|
||||
android:background="?selectableItemBackground"
|
||||
android:orientation="vertical"
|
||||
android:clickable="true"
|
||||
android:focusable="true">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/developer_full_name"
|
||||
android:textColor="@color/github_color_fg_default"
|
||||
android:textSize="@dimen/github_font_size_full_name" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/developer_nickname"
|
||||
android:textColor="@color/github_color_fg_muted"
|
||||
android:textSize="@dimen/github_font_size_nickname" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/icon_2nd_developer_identifier"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="end"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/icon_developer_identifier_image_side_length"
|
||||
android:layout_height="@dimen/icon_developer_identifier_image_side_length"
|
||||
android:padding="@dimen/icon_developer_identifier_image_padding"
|
||||
android:layout_gravity="center"
|
||||
android:src="@drawable/ic_looks_2_black_48dp"
|
||||
app:tint="@color/tint_2nd_developer_identifier"
|
||||
android:contentDescription="icon_2nd_developer_identifier" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center|bottom">
|
||||
|
||||
<include
|
||||
android:id="@+id/activity_about_function_buttons"
|
||||
layout="@layout/activity_about_function_buttons"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal" />
|
||||
|
||||
<org.autojs.autojs.ui.widget.CopyrightTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:layout_marginTop="20dp"
|
||||
tools:text="@string/text_copyright_sample"
|
||||
android:textColor="@color/prefTextColorPrimary"
|
||||
android:textSize="14sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
@@ -1,311 +0,0 @@
|
||||
<?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"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fitsSystemWindows="true"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.google.android.material.appbar.AppBarLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:theme="@style/AppTheme.AppBarOverlay"
|
||||
android:fitsSystemWindows="true">
|
||||
|
||||
<org.autojs.autojs.theme.widget.ThemeColorToolbar
|
||||
android:id="@+id/toolbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?attr/actionBarSize"
|
||||
android:background="?attr/colorPrimary"
|
||||
android:theme="@style/ToolBarStyle"
|
||||
app:popupTheme="@style/AppTheme.PopupOverlay"
|
||||
app:title="@string/text_about" />
|
||||
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginHorizontal="16dp"
|
||||
android:layout_marginVertical="4dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/icon_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="180dp"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:background="@android:color/transparent"
|
||||
android:foreground="?selectableItemBackgroundBorderless">
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<com.jaredrummler.android.widget.AnimatedSvgView
|
||||
android:id="@+id/icon_about_app_svg_view"
|
||||
android:layout_width="91dp"
|
||||
android:layout_height="91dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_margin="10dp"
|
||||
app:animatedSvgFillColors="@array/icon_about_app_svg_view_fill_colors"
|
||||
app:animatedSvgGlyphStrings="@array/icon_about_app_svg_view_paths"
|
||||
app:animatedSvgTraceColors="@array/icon_about_app_svg_view_trace_colors"
|
||||
app:animatedSvgTraceResidueColors="@array/icon_about_app_svg_view_trace_residue_colors"
|
||||
app:animatedSvgImageSizeX="576"
|
||||
app:animatedSvgImageSizeY="576"
|
||||
app:animatedSvgFillStart="200"
|
||||
app:animatedSvgFillTime="200"
|
||||
app:animatedSvgTraceTime="500"
|
||||
app:animatedSvgTraceTimePerGlyph="500" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/icon_about_app"
|
||||
android:visibility="invisible"
|
||||
android:layout_width="91dp"
|
||||
android:layout_height="91dp"
|
||||
android:layout_margin="10dp"
|
||||
android:src="@drawable/autojs6_material"
|
||||
tools:ignore="ContentDescription,ImageContrastCheck" />
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="50dp"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/version"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/about_app_version_info"
|
||||
android:textSize="16sp"
|
||||
android:text="@string/text_sample_string" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/since"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/about_app_version_info"
|
||||
android:textSize="13sp"
|
||||
android:text="@string/text_sample_string" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="4dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="62dp"
|
||||
android:layout_marginHorizontal="16dp"
|
||||
android:layout_marginVertical="4dp"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:baselineAligned="false">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/avatar_original_developer"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="center"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
|
||||
<de.hdodenhof.circleimageview.CircleImageView
|
||||
android:layout_width="@dimen/about_item_avatar_side_length"
|
||||
android:layout_height="@dimen/about_item_avatar_side_length"
|
||||
android:src="@drawable/avatar_original_developer"
|
||||
android:contentDescription="avatar_original_developer"
|
||||
app:civ_border_width="@dimen/github_avatar_border_width"
|
||||
app:civ_border_color="@color/github_avatar_border" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/avatar_original_developer_user_contents"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="@dimen/about_item_avatar_side_length"
|
||||
android:layout_marginHorizontal="12dp"
|
||||
android:paddingTop="0.8dp"
|
||||
android:background="?selectableItemBackground"
|
||||
android:orientation="vertical"
|
||||
android:clickable="true"
|
||||
android:focusable="true">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/original_developer_full_name"
|
||||
android:textColor="@color/github_color_fg_default"
|
||||
android:textSize="@dimen/github_font_size_full_name" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/original_developer_nickname"
|
||||
android:textColor="@color/github_color_fg_muted"
|
||||
android:textSize="@dimen/github_font_size_nickname" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/icon_1st_developer_identifier"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="end"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/icon_developer_identifier_image_side_length"
|
||||
android:layout_height="@dimen/icon_developer_identifier_image_side_length"
|
||||
android:padding="@dimen/icon_developer_identifier_image_padding"
|
||||
android:layout_gravity="center"
|
||||
android:src="@drawable/ic_looks_1_black_48dp"
|
||||
app:tint="@color/tint_1st_developer_identifier"
|
||||
android:contentDescription="icon_1st_developer_identifier" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="62dp"
|
||||
android:layout_marginHorizontal="16dp"
|
||||
android:layout_marginVertical="4dp"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:baselineAligned="false">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/avatar_developer"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="center"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
|
||||
<de.hdodenhof.circleimageview.CircleImageView
|
||||
android:layout_width="@dimen/about_item_avatar_side_length"
|
||||
android:layout_height="@dimen/about_item_avatar_side_length"
|
||||
android:src="@drawable/avatar_developer"
|
||||
android:contentDescription="avatar_developer"
|
||||
app:civ_border_width="@dimen/github_avatar_border_width"
|
||||
app:civ_border_color="@color/github_avatar_border" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/avatar_developer_user_contents"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="@dimen/about_item_avatar_side_length"
|
||||
android:layout_marginHorizontal="12dp"
|
||||
android:paddingTop="0.8dp"
|
||||
android:background="?selectableItemBackground"
|
||||
android:orientation="vertical"
|
||||
android:clickable="true"
|
||||
android:focusable="true">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/developer_full_name"
|
||||
android:textColor="@color/github_color_fg_default"
|
||||
android:textSize="@dimen/github_font_size_full_name" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/developer_nickname"
|
||||
android:textColor="@color/github_color_fg_muted"
|
||||
android:textSize="@dimen/github_font_size_nickname" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/icon_2nd_developer_identifier"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="end"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/icon_developer_identifier_image_side_length"
|
||||
android:layout_height="@dimen/icon_developer_identifier_image_side_length"
|
||||
android:padding="@dimen/icon_developer_identifier_image_padding"
|
||||
android:layout_gravity="center"
|
||||
android:src="@drawable/ic_looks_2_black_48dp"
|
||||
app:tint="@color/tint_2nd_developer_identifier"
|
||||
android:contentDescription="icon_2nd_developer_identifier" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center|bottom">
|
||||
|
||||
<include
|
||||
android:id="@+id/activity_about_function_buttons"
|
||||
layout="@layout/activity_about_function_buttons"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal" />
|
||||
|
||||
<org.autojs.autojs.ui.widget.CopyrightTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:layout_marginTop="4dp"
|
||||
tools:text="@string/text_copyright_sample"
|
||||
android:textColor="@color/prefTextColorPrimary"
|
||||
android:textSize="13sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
@@ -1,144 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<HorizontalScrollView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:fillViewport="true"
|
||||
android:scrollbars="none">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?selectableItemBackground"
|
||||
android:baselineAligned="false"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/about_functions_button_licenses"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="top|center"
|
||||
android:layout_marginHorizontal="3dp"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginTop="4dp"
|
||||
android:src="@drawable/ic_about_license"
|
||||
android:contentDescription="@string/text_about_functions_licenses" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginVertical="6dp"
|
||||
android:text="@string/text_about_functions_licenses"
|
||||
android:maxLines="2"
|
||||
android:gravity="center"
|
||||
android:textSize="13sp"
|
||||
android:textColor="@color/about_app_function_buttons" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/about_functions_button_update"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="top|center"
|
||||
android:layout_marginHorizontal="3dp"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginTop="4dp"
|
||||
android:src="@drawable/ic_about_update"
|
||||
android:contentDescription="@string/text_about_functions_update" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginVertical="6dp"
|
||||
android:maxLines="2"
|
||||
android:gravity="center"
|
||||
android:text="@string/text_about_functions_update"
|
||||
android:textSize="13sp"
|
||||
android:textColor="@color/about_app_function_buttons" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/about_functions_button_version_histories"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="top|center"
|
||||
android:layout_marginHorizontal="3dp"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginTop="4dp"
|
||||
android:src="@drawable/ic_about_version_histories"
|
||||
android:contentDescription="@string/text_about_functions_version_histories" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginVertical="6dp"
|
||||
android:maxLines="2"
|
||||
android:gravity="center"
|
||||
android:text="@string/text_about_functions_version_histories"
|
||||
android:textSize="13sp"
|
||||
android:textColor="@color/about_app_function_buttons" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/about_functions_button_feedback"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="top|center"
|
||||
android:layout_marginHorizontal="3dp"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginTop="4dp"
|
||||
android:src="@drawable/ic_about_feedback"
|
||||
android:contentDescription="@string/text_about_functions_feedback" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginVertical="6dp"
|
||||
android:maxLines="2"
|
||||
android:gravity="center"
|
||||
android:text="@string/text_about_functions_feedback"
|
||||
android:textSize="13sp"
|
||||
android:textColor="@color/about_app_function_buttons" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</HorizontalScrollView>
|
||||
@@ -1,144 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<HorizontalScrollView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:fillViewport="true"
|
||||
android:scrollbars="none">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?selectableItemBackground"
|
||||
android:baselineAligned="false"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/about_functions_button_licenses"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="top|center"
|
||||
android:layout_marginHorizontal="8dp"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginTop="4dp"
|
||||
android:src="@drawable/ic_about_license"
|
||||
android:contentDescription="@string/text_about_functions_licenses" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginVertical="6dp"
|
||||
android:text="@string/text_about_functions_licenses"
|
||||
android:maxLines="2"
|
||||
android:gravity="center"
|
||||
android:textSize="13sp"
|
||||
android:textColor="@color/about_app_function_buttons" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/about_functions_button_update"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="top|center"
|
||||
android:layout_marginHorizontal="8dp"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginTop="4dp"
|
||||
android:src="@drawable/ic_about_update"
|
||||
android:contentDescription="@string/text_about_functions_update" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginVertical="6dp"
|
||||
android:maxLines="2"
|
||||
android:gravity="center"
|
||||
android:text="@string/text_about_functions_update"
|
||||
android:textSize="13sp"
|
||||
android:textColor="@color/about_app_function_buttons" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/about_functions_button_version_histories"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="top|center"
|
||||
android:layout_marginHorizontal="8dp"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginTop="4dp"
|
||||
android:src="@drawable/ic_about_version_histories"
|
||||
android:contentDescription="@string/text_about_functions_version_histories" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginVertical="6dp"
|
||||
android:maxLines="2"
|
||||
android:gravity="center"
|
||||
android:text="@string/text_about_functions_version_histories"
|
||||
android:textSize="13sp"
|
||||
android:textColor="@color/about_app_function_buttons" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/about_functions_button_feedback"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="top|center"
|
||||
android:layout_marginHorizontal="8dp"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginTop="4dp"
|
||||
android:src="@drawable/ic_about_feedback"
|
||||
android:contentDescription="@string/text_about_functions_feedback" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginVertical="6dp"
|
||||
android:maxLines="2"
|
||||
android:gravity="center"
|
||||
android:text="@string/text_about_functions_feedback"
|
||||
android:textSize="13sp"
|
||||
android:textColor="@color/about_app_function_buttons" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</HorizontalScrollView>
|
||||
@@ -32,287 +32,337 @@
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="4dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/icon_container"
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/main_content_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="180dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="15"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:background="@android:color/transparent"
|
||||
android:foreground="?selectableItemBackgroundBorderless">
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<com.jaredrummler.android.widget.AnimatedSvgView
|
||||
android:id="@+id/icon_about_app_svg_view"
|
||||
android:layout_width="91dp"
|
||||
android:layout_height="91dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_margin="10dp"
|
||||
app:animatedSvgFillColors="@array/icon_about_app_svg_view_fill_colors"
|
||||
app:animatedSvgGlyphStrings="@array/icon_about_app_svg_view_paths"
|
||||
app:animatedSvgTraceColors="@array/icon_about_app_svg_view_trace_colors"
|
||||
app:animatedSvgTraceResidueColors="@array/icon_about_app_svg_view_trace_residue_colors"
|
||||
app:animatedSvgImageSizeX="576"
|
||||
app:animatedSvgImageSizeY="576"
|
||||
app:animatedSvgFillStart="200"
|
||||
app:animatedSvgFillTime="200"
|
||||
app:animatedSvgTraceTime="500"
|
||||
app:animatedSvgTraceTimePerGlyph="500" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/icon_about_app"
|
||||
android:visibility="invisible"
|
||||
android:layout_width="91dp"
|
||||
android:layout_height="91dp"
|
||||
android:layout_margin="10dp"
|
||||
android:src="@drawable/autojs6_material"
|
||||
tools:ignore="ContentDescription,ImageContrastCheck" />
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="50dp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintBottom_toTopOf="@id/main_content_guideline_45"
|
||||
android:id="@+id/icon_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center">
|
||||
android:background="@android:color/transparent"
|
||||
android:foreground="?selectableItemBackgroundBorderless">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/version"
|
||||
<FrameLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/about_app_version_info"
|
||||
android:textSize="16sp"
|
||||
android:text="@string/text_sample_string" />
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/since"
|
||||
<com.jaredrummler.android.widget.AnimatedSvgView
|
||||
android:id="@+id/icon_about_app_svg_view"
|
||||
android:layout_width="91dp"
|
||||
android:layout_height="91dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_margin="10dp"
|
||||
app:animatedSvgFillColors="@array/icon_about_app_svg_view_fill_colors"
|
||||
app:animatedSvgGlyphStrings="@array/icon_about_app_svg_view_paths"
|
||||
app:animatedSvgTraceColors="@array/icon_about_app_svg_view_trace_colors"
|
||||
app:animatedSvgTraceResidueColors="@array/icon_about_app_svg_view_trace_residue_colors"
|
||||
app:animatedSvgImageSizeX="576"
|
||||
app:animatedSvgImageSizeY="576"
|
||||
app:animatedSvgFillStart="200"
|
||||
app:animatedSvgFillTime="200"
|
||||
app:animatedSvgTraceTime="500"
|
||||
app:animatedSvgTraceTimePerGlyph="500" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/icon_about_app"
|
||||
android:visibility="invisible"
|
||||
tools:visibility="visible"
|
||||
android:layout_width="91dp"
|
||||
android:layout_height="91dp"
|
||||
android:layout_margin="10dp"
|
||||
android:src="@drawable/autojs6_material"
|
||||
tools:ignore="ContentDescription,ImageContrastCheck" />
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/about_app_version_info"
|
||||
android:textSize="13sp"
|
||||
android:text="@string/text_sample_string" />
|
||||
android:layout_height="50dp"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/version"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/about_app_version_info"
|
||||
android:textSize="16sp"
|
||||
android:text="@string/text_sample_string" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/since"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/about_app_version_info"
|
||||
android:textSize="13sp"
|
||||
android:text="@string/text_sample_string" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
<androidx.constraintlayout.widget.Guideline
|
||||
android:id="@+id/main_content_guideline_45"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintGuide_percent="0.45" />
|
||||
|
||||
<androidx.constraintlayout.widget.Guideline
|
||||
android:id="@+id/main_content_guideline_55"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintGuide_percent="0.55" />
|
||||
|
||||
<LinearLayout
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/main_content_guideline_55"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
android:id="@+id/developers_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginHorizontal="16dp"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:background="@android:color/transparent"
|
||||
android:foreground="?selectableItemBackgroundBorderless">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:maxWidth="480dp"
|
||||
android:background="?selectableItemBackground"
|
||||
android:baselineAligned="false"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<LinearLayout
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:id="@+id/avatar_original_developer"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="center"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
|
||||
<de.hdodenhof.circleimageview.CircleImageView
|
||||
android:layout_width="@dimen/about_item_avatar_side_length"
|
||||
android:layout_height="@dimen/about_item_avatar_side_length"
|
||||
android:src="@drawable/avatar_original_developer"
|
||||
android:contentDescription="avatar_original_developer"
|
||||
app:civ_border_width="@dimen/github_avatar_border_width"
|
||||
app:civ_border_color="@color/github_avatar_border" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
app:layout_constraintStart_toEndOf="@id/avatar_original_developer"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:id="@+id/avatar_original_developer_user_contents"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="@dimen/about_item_avatar_side_length"
|
||||
android:layout_marginHorizontal="12dp"
|
||||
android:paddingTop="0.8dp"
|
||||
android:background="?selectableItemBackground"
|
||||
android:orientation="vertical"
|
||||
android:clickable="true"
|
||||
android:focusable="true">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/original_developer_full_name"
|
||||
android:textColor="@color/github_color_fg_default"
|
||||
android:textSize="@dimen/github_font_size_full_name" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/original_developer_nickname"
|
||||
android:textColor="@color/github_color_fg_muted"
|
||||
android:textSize="@dimen/github_font_size_nickname" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:id="@+id/icon_1st_developer_identifier"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="end"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/icon_developer_identifier_image_side_length"
|
||||
android:layout_height="@dimen/icon_developer_identifier_image_side_length"
|
||||
android:padding="@dimen/icon_developer_identifier_image_padding"
|
||||
android:layout_gravity="center"
|
||||
android:src="@drawable/ic_looks_1_black_48dp"
|
||||
app:tint="@color/tint_1st_developer_identifier"
|
||||
android:contentDescription="icon_1st_developer_identifier" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<Space
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="24dp" />
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:maxWidth="480dp"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:baselineAligned="false">
|
||||
|
||||
<LinearLayout
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:id="@+id/avatar_developer"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="center"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
|
||||
<de.hdodenhof.circleimageview.CircleImageView
|
||||
android:layout_width="@dimen/about_item_avatar_side_length"
|
||||
android:layout_height="@dimen/about_item_avatar_side_length"
|
||||
android:src="@drawable/avatar_developer"
|
||||
android:contentDescription="avatar_developer"
|
||||
app:civ_border_width="@dimen/github_avatar_border_width"
|
||||
app:civ_border_color="@color/github_avatar_border" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
app:layout_constraintStart_toEndOf="@id/avatar_developer"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:id="@+id/avatar_developer_user_contents"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="@dimen/about_item_avatar_side_length"
|
||||
android:layout_marginHorizontal="12dp"
|
||||
android:paddingTop="0.8dp"
|
||||
android:background="?selectableItemBackground"
|
||||
android:orientation="vertical"
|
||||
android:clickable="true"
|
||||
android:focusable="true">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/developer_full_name"
|
||||
android:textColor="@color/github_color_fg_default"
|
||||
android:textSize="@dimen/github_font_size_full_name" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/developer_nickname"
|
||||
android:textColor="@color/github_color_fg_muted"
|
||||
android:textSize="@dimen/github_font_size_nickname" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:id="@+id/icon_2nd_developer_identifier"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="end"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/icon_developer_identifier_image_side_length"
|
||||
android:layout_height="@dimen/icon_developer_identifier_image_side_length"
|
||||
android:padding="@dimen/icon_developer_identifier_image_padding"
|
||||
android:layout_gravity="center"
|
||||
android:src="@drawable/ic_looks_2_black_48dp"
|
||||
app:tint="@color/tint_2nd_developer_identifier"
|
||||
android:contentDescription="icon_2nd_developer_identifier" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="4dp"
|
||||
android:orientation="vertical">
|
||||
android:layout_marginHorizontal="16dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="3"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center">
|
||||
|
||||
<LinearLayout
|
||||
<include
|
||||
android:id="@+id/activity_about_function_buttons"
|
||||
layout="@layout/activity_about_function_buttons"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="62dp"
|
||||
android:layout_marginHorizontal="10dp"
|
||||
android:layout_marginVertical="4dp"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:baselineAligned="false">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/avatar_original_developer"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="center"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
|
||||
<de.hdodenhof.circleimageview.CircleImageView
|
||||
android:layout_width="@dimen/about_item_avatar_side_length"
|
||||
android:layout_height="@dimen/about_item_avatar_side_length"
|
||||
android:src="@drawable/avatar_original_developer"
|
||||
android:contentDescription="avatar_original_developer"
|
||||
app:civ_border_width="@dimen/github_avatar_border_width"
|
||||
app:civ_border_color="@color/github_avatar_border" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/avatar_original_developer_user_contents"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="@dimen/about_item_avatar_side_length"
|
||||
android:layout_marginHorizontal="12dp"
|
||||
android:paddingTop="0.8dp"
|
||||
android:background="?selectableItemBackground"
|
||||
android:orientation="vertical"
|
||||
android:clickable="true"
|
||||
android:focusable="true">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textStyle="bold"
|
||||
android:ellipsize="middle"
|
||||
android:maxLines="1"
|
||||
android:text="@string/original_developer_full_name"
|
||||
android:textColor="@color/github_color_fg_default"
|
||||
android:textSize="@dimen/github_font_size_full_name" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="middle"
|
||||
android:maxLines="1"
|
||||
android:text="@string/original_developer_nickname"
|
||||
android:textColor="@color/github_color_fg_muted"
|
||||
android:textSize="@dimen/github_font_size_nickname" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/icon_1st_developer_identifier"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="end"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/icon_developer_identifier_image_side_length"
|
||||
android:layout_height="@dimen/icon_developer_identifier_image_side_length"
|
||||
android:padding="@dimen/icon_developer_identifier_image_padding"
|
||||
android:layout_gravity="center"
|
||||
android:src="@drawable/ic_looks_1_black_48dp"
|
||||
app:tint="@color/tint_1st_developer_identifier"
|
||||
android:contentDescription="icon_1st_developer_identifier" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="62dp"
|
||||
android:layout_marginHorizontal="10dp"
|
||||
android:layout_marginVertical="4dp"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:baselineAligned="false">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/avatar_developer"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="center"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
|
||||
<de.hdodenhof.circleimageview.CircleImageView
|
||||
android:layout_width="@dimen/about_item_avatar_side_length"
|
||||
android:layout_height="@dimen/about_item_avatar_side_length"
|
||||
android:src="@drawable/avatar_developer"
|
||||
android:contentDescription="avatar_developer"
|
||||
app:civ_border_width="@dimen/github_avatar_border_width"
|
||||
app:civ_border_color="@color/github_avatar_border" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/avatar_developer_user_contents"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="@dimen/about_item_avatar_side_length"
|
||||
android:layout_marginHorizontal="12dp"
|
||||
android:paddingTop="0.8dp"
|
||||
android:background="?selectableItemBackground"
|
||||
android:orientation="vertical"
|
||||
android:clickable="true"
|
||||
android:focusable="true">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textStyle="bold"
|
||||
android:maxLines="1"
|
||||
android:ellipsize="middle"
|
||||
android:text="@string/developer_full_name"
|
||||
android:textColor="@color/github_color_fg_default"
|
||||
android:textSize="@dimen/github_font_size_full_name" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="middle"
|
||||
android:maxLines="1"
|
||||
android:text="@string/developer_nickname"
|
||||
android:textColor="@color/github_color_fg_muted"
|
||||
android:textSize="@dimen/github_font_size_nickname" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/icon_2nd_developer_identifier"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="end"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/icon_developer_identifier_image_side_length"
|
||||
android:layout_height="@dimen/icon_developer_identifier_image_side_length"
|
||||
android:padding="@dimen/icon_developer_identifier_image_padding"
|
||||
android:layout_gravity="center"
|
||||
android:src="@drawable/ic_looks_2_black_48dp"
|
||||
app:tint="@color/tint_2nd_developer_identifier"
|
||||
android:contentDescription="icon_2nd_developer_identifier" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center|bottom">
|
||||
|
||||
<include
|
||||
android:id="@+id/activity_about_function_buttons"
|
||||
layout="@layout/activity_about_function_buttons"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal" />
|
||||
|
||||
<org.autojs.autojs.ui.widget.CopyrightTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:layout_marginTop="16dp"
|
||||
android:ellipsize="middle"
|
||||
android:maxLines="1"
|
||||
tools:text="@string/text_copyright_sample"
|
||||
android:textColor="@color/prefTextColorPrimary"
|
||||
android:textSize="13sp" />
|
||||
|
||||
</LinearLayout>
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<org.autojs.autojs.ui.widget.CopyrightTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:layout_marginBottom="8dp"
|
||||
tools:text="@string/text_copyright_sample"
|
||||
android:textColor="@color/prefTextColorPrimary"
|
||||
android:textSize="14sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -1,140 +1,249 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<HorizontalScrollView
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:fillViewport="true"
|
||||
android:scrollbars="none">
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:maxWidth="480dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
<View
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@id/about_functions_button_licenses"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintWidth_max="20dp"
|
||||
app:layout_constraintHorizontal_weight="1"
|
||||
app:layout_constrainedWidth="true"
|
||||
android:id="@+id/space_0_1"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
app:layout_constraintStart_toEndOf="@id/space_0_1"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@id/space_1_2"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:id="@+id/about_functions_button_licenses"
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?selectableItemBackground"
|
||||
android:baselineAligned="false"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/about_functions_button_licenses"
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="top|center"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
<androidx.constraintlayout.widget.Guideline
|
||||
android:id="@+id/guideline_50_licenses"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintGuide_percent="0.5"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginTop="4dp"
|
||||
android:src="@drawable/ic_about_license"
|
||||
android:contentDescription="@string/text_about_functions_licenses" />
|
||||
<ImageView
|
||||
android:id="@+id/about_functions_button_licenses_icon"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:src="@drawable/ic_about_license"
|
||||
android:contentDescription="@string/text_about_functions_licenses"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintBottom_toTopOf="@id/guideline_50_licenses" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginVertical="6dp"
|
||||
android:text="@string/text_about_functions_licenses"
|
||||
android:maxLines="2"
|
||||
android:gravity="center"
|
||||
android:textSize="13sp"
|
||||
android:textColor="@color/about_app_function_buttons" />
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="6dp"
|
||||
android:text="@string/text_about_functions_licenses"
|
||||
android:maxLines="2"
|
||||
android:gravity="center"
|
||||
android:textSize="13sp"
|
||||
android:textColor="@color/about_app_function_buttons"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/guideline_50_licenses"
|
||||
app:layout_constraintEnd_toEndOf="parent" />
|
||||
|
||||
</LinearLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/about_functions_button_update"
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="top|center"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
<View
|
||||
app:layout_constraintStart_toEndOf="@id/about_functions_button_licenses"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@id/about_functions_button_update"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintWidth_max="40dp"
|
||||
app:layout_constraintHorizontal_weight="1"
|
||||
app:layout_constrainedWidth="true"
|
||||
android:id="@+id/space_1_2"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginTop="4dp"
|
||||
android:src="@drawable/ic_about_update"
|
||||
android:contentDescription="@string/text_about_functions_update" />
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
app:layout_constraintStart_toEndOf="@id/space_1_2"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@id/space_2_3"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:id="@+id/about_functions_button_update"
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?selectableItemBackground"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginVertical="6dp"
|
||||
android:maxLines="2"
|
||||
android:gravity="center"
|
||||
android:text="@string/text_about_functions_update"
|
||||
android:textSize="13sp"
|
||||
android:textColor="@color/about_app_function_buttons" />
|
||||
<androidx.constraintlayout.widget.Guideline
|
||||
android:id="@+id/guideline_50_update"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintGuide_percent="0.5"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp" />
|
||||
|
||||
</LinearLayout>
|
||||
<ImageView
|
||||
android:id="@+id/about_functions_button_update_icon"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginTop="4dp"
|
||||
android:src="@drawable/ic_about_update"
|
||||
android:contentDescription="@string/text_about_functions_update"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintBottom_toTopOf="@id/guideline_50_update" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/about_functions_button_version_histories"
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="top|center"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="6dp"
|
||||
android:maxLines="2"
|
||||
android:gravity="center"
|
||||
android:text="@string/text_about_functions_update"
|
||||
android:textSize="13sp"
|
||||
android:textColor="@color/about_app_function_buttons"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/guideline_50_update"
|
||||
app:layout_constraintEnd_toEndOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginTop="4dp"
|
||||
android:src="@drawable/ic_about_version_histories"
|
||||
android:contentDescription="@string/text_about_functions_version_histories" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginVertical="6dp"
|
||||
android:maxLines="2"
|
||||
android:gravity="center"
|
||||
android:text="@string/text_about_functions_version_histories"
|
||||
android:textSize="13sp"
|
||||
android:textColor="@color/about_app_function_buttons" />
|
||||
<View
|
||||
app:layout_constraintStart_toEndOf="@id/about_functions_button_update"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@id/about_functions_button_version_histories"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintWidth_max="40dp"
|
||||
app:layout_constraintHorizontal_weight="1"
|
||||
app:layout_constrainedWidth="true"
|
||||
android:id="@+id/space_2_3"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</LinearLayout>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
app:layout_constraintStart_toEndOf="@id/space_2_3"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@id/space_3_4"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:id="@+id/about_functions_button_version_histories"
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?selectableItemBackground"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/about_functions_button_feedback"
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:background="?selectableItemBackground"
|
||||
android:gravity="top|center"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
<androidx.constraintlayout.widget.Guideline
|
||||
android:id="@+id/guideline_50_version_histories"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintGuide_percent="0.5"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginTop="4dp"
|
||||
android:src="@drawable/ic_about_feedback"
|
||||
android:contentDescription="@string/text_about_functions_feedback" />
|
||||
<ImageView
|
||||
android:id="@+id/about_functions_button_version_histories_icon"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginTop="4dp"
|
||||
android:src="@drawable/ic_about_version_histories"
|
||||
android:contentDescription="@string/text_about_functions_version_histories"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintBottom_toTopOf="@id/guideline_50_version_histories" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginVertical="6dp"
|
||||
android:maxLines="2"
|
||||
android:gravity="center"
|
||||
android:text="@string/text_about_functions_feedback"
|
||||
android:textSize="13sp"
|
||||
android:textColor="@color/about_app_function_buttons" />
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="6dp"
|
||||
android:maxLines="2"
|
||||
android:gravity="center"
|
||||
android:text="@string/text_about_functions_version_histories"
|
||||
android:textSize="13sp"
|
||||
android:textColor="@color/about_app_function_buttons"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/guideline_50_version_histories"
|
||||
app:layout_constraintEnd_toEndOf="parent" />
|
||||
|
||||
</LinearLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</LinearLayout>
|
||||
<View
|
||||
app:layout_constraintStart_toEndOf="@id/about_functions_button_version_histories"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@id/about_functions_button_feedback"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintWidth_max="40dp"
|
||||
app:layout_constraintHorizontal_weight="1"
|
||||
app:layout_constrainedWidth="true"
|
||||
android:id="@+id/space_3_4"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</HorizontalScrollView>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
app:layout_constraintStart_toEndOf="@id/space_3_4"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@id/space_4_end"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:id="@+id/about_functions_button_feedback"
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?selectableItemBackground"
|
||||
android:focusable="true"
|
||||
android:clickable="true">
|
||||
|
||||
<androidx.constraintlayout.widget.Guideline
|
||||
android:id="@+id/guideline_50_feedback"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintGuide_percent="0.5"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/about_functions_button_feedback_icon"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginTop="4dp"
|
||||
android:src="@drawable/ic_about_feedback"
|
||||
android:contentDescription="@string/text_about_functions_feedback"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintBottom_toTopOf="@id/guideline_50_feedback" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="6dp"
|
||||
android:maxLines="2"
|
||||
android:gravity="center"
|
||||
android:text="@string/text_about_functions_feedback"
|
||||
android:textSize="13sp"
|
||||
android:textColor="@color/about_app_function_buttons"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/guideline_50_feedback"
|
||||
app:layout_constraintEnd_toEndOf="parent" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<View
|
||||
app:layout_constraintStart_toEndOf="@id/about_functions_button_feedback"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintWidth_max="20dp"
|
||||
app:layout_constraintHorizontal_weight="1"
|
||||
app:layout_constrainedWidth="true"
|
||||
android:id="@+id/space_4_end"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -1,17 +1,20 @@
|
||||
<resources>
|
||||
<!-- Default screen margins, per the Android Design guidelines. -->
|
||||
<dimen name="about_item_avatar_side_length">50dp</dimen>
|
||||
<dimen name="about_item_avatar_side_length_compat">42dp</dimen>
|
||||
<dimen name="about_item_avatar_side_length_land">60dp</dimen>
|
||||
<dimen name="about_item_avatar_side_length_land_compact">57dp</dimen>
|
||||
<dimen name="about_item_avatar_side_length_land_compact">54dp</dimen>
|
||||
<dimen name="content_inset">16dp</dimen>
|
||||
<dimen name="divider_drawer_menu_group">6dp</dimen>
|
||||
<dimen name="fab_margin">16dp</dimen>
|
||||
<dimen name="floaty_window_offset">12dp</dimen>
|
||||
<dimen name="github_avatar_border_width">1dp</dimen>
|
||||
<dimen name="github_font_size_full_name">18sp</dimen>
|
||||
<dimen name="github_font_size_full_name_compat">14sp</dimen>
|
||||
<dimen name="github_font_size_nickname">15sp</dimen>
|
||||
<dimen name="github_font_size_nickname_compat">12sp</dimen>
|
||||
<dimen name="icon_developer_identifier_image_padding">5dp</dimen>
|
||||
<dimen name="icon_developer_identifier_image_padding_compact">4dp</dimen>
|
||||
<dimen name="icon_developer_identifier_image_padding_compact">3dp</dimen>
|
||||
<dimen name="icon_developer_identifier_image_side_length">48dp</dimen>
|
||||
<dimen name="icon_developer_identifier_image_side_length_compact">40dp</dimen>
|
||||
<dimen name="level_beam_view_line_offset">3dp</dimen>
|
||||
|
||||
Reference in New Issue
Block a user