|
|
|
|
@ -21,19 +21,123 @@ |
|
|
|
|
android:layout_weight="1" |
|
|
|
|
android:text="@string/setting_site" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="18sp" /> |
|
|
|
|
android:textSize="16sp" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/home" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="18sp" /> |
|
|
|
|
android:textSize="16sp" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
android:id="@+id/config" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginTop="16dp" |
|
|
|
|
android:orientation="horizontal"> |
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
android:id="@+id/config" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
|
android:layout_weight="1" |
|
|
|
|
android:background="@drawable/shape_item" |
|
|
|
|
android:foreground="?android:attr/selectableItemBackground" |
|
|
|
|
android:orientation="horizontal"> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
|
android:text="@string/setting_url" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="16sp" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/url" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:gravity="end" |
|
|
|
|
android:singleLine="true" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="16sp" |
|
|
|
|
tools:text="https://" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
<ImageView |
|
|
|
|
android:id="@+id/history" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:background="@drawable/shape_item" |
|
|
|
|
android:foreground="?android:attr/selectableItemBackground" |
|
|
|
|
android:padding="8dp" |
|
|
|
|
android:scaleType="fitCenter" |
|
|
|
|
android:src="@drawable/ic_history" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
android:id="@+id/render" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginTop="16dp" |
|
|
|
|
android:background="@drawable/shape_item" |
|
|
|
|
android:foreground="?android:attr/selectableItemBackground" |
|
|
|
|
android:orientation="horizontal"> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
|
android:text="@string/setting_render" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="16sp" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/renderText" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:gravity="end" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="16sp" |
|
|
|
|
tools:text="Surface" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
android:id="@+id/scale" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginTop="16dp" |
|
|
|
|
android:background="@drawable/shape_item" |
|
|
|
|
android:foreground="?android:attr/selectableItemBackground" |
|
|
|
|
android:orientation="horizontal"> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
|
android:text="@string/setting_scale" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="16sp" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/scaleText" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:gravity="end" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="16sp" |
|
|
|
|
tools:text="Fill" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
android:id="@+id/quality" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginTop="16dp" |
|
|
|
|
@ -45,21 +149,45 @@ |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
|
android:text="@string/setting_url" |
|
|
|
|
android:text="@string/setting_quality" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="18sp" /> |
|
|
|
|
android:textSize="16sp" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/qualityText" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:gravity="end" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="16sp" |
|
|
|
|
tools:text="High" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
android:id="@+id/version" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginTop="16dp" |
|
|
|
|
android:background="@drawable/shape_item" |
|
|
|
|
android:foreground="?android:attr/selectableItemBackground" |
|
|
|
|
android:orientation="horizontal"> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/url" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_weight="1" |
|
|
|
|
android:gravity="end" |
|
|
|
|
android:singleLine="true" |
|
|
|
|
android:text="@string/setting_version" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="16sp" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/versionText" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="18sp" |
|
|
|
|
tools:ignore="NestedWeights" |
|
|
|
|
tools:text="https://" /> |
|
|
|
|
android:textSize="16sp" |
|
|
|
|
tools:text="1.2.1" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
</LinearLayout> |