..
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:color="@color/finestSilver" android:state_checked="true"/>
|
||||
<item android:color="@color/finestSilver" android:state_selected="true"/>
|
||||
<item android:color="@color/black" />
|
||||
</selector>
|
||||
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<size android:width="3px" />
|
||||
<!-- 투명도 50%의 흰색 (#80FFFFFF) -->
|
||||
<solid android:color="#50FFFFFF" />
|
||||
|
||||
<!-- 1px 패딩 -->
|
||||
<padding
|
||||
android:left="1px"
|
||||
android:top="10dp"
|
||||
android:right="1px"
|
||||
android:bottom="10dp" />
|
||||
|
||||
</shape>
|
||||
@@ -1,46 +1,57 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/grey_hex_20"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:orientation="vertical">
|
||||
|
||||
<!-- 검색어 입력 -->
|
||||
<EditText
|
||||
app:layout_constraintBottom_toTopOf="@id/add_read"
|
||||
android:padding="16dp"
|
||||
android:id="@+id/inputKeyword"
|
||||
android:layout_width="match_parent"
|
||||
android:textColor="@color/white"
|
||||
android:gravity="right|center_vertical"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="검색어 입력"
|
||||
android:imeOptions="actionSearch"
|
||||
android:inputType="text"
|
||||
android:singleLine="true" />
|
||||
|
||||
<LinearLayout
|
||||
android:gravity="right|center_vertical"
|
||||
android:padding="10dp"
|
||||
android:layout_height="48dp"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent">
|
||||
<CheckBox
|
||||
android:padding="0dp"
|
||||
android:text="Add Vote"
|
||||
android:textColor="@color/black"
|
||||
android:id="@+id/add_vote"
|
||||
android:checked="false"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
<CheckBox
|
||||
android:padding="0dp"
|
||||
android:text="Add Read"
|
||||
android:textColor="@color/black"
|
||||
android:id="@+id/add_read"
|
||||
android:checked="false"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
</LinearLayout>
|
||||
|
||||
<CheckBox
|
||||
app:layout_constraintRight_toLeftOf="@id/add_read"
|
||||
app:layout_constraintBottom_toTopOf="@+id/accessoryToolbar"
|
||||
android:layout_margin="0dp"
|
||||
android:padding="0dp"
|
||||
android:minHeight="0dp"
|
||||
android:includeFontPadding="false"
|
||||
android:text="Add Vote"
|
||||
android:textColor="@color/white"
|
||||
android:id="@+id/add_vote"
|
||||
android:checked="false"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
<CheckBox
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintBottom_toTopOf="@+id/accessoryToolbar"
|
||||
android:padding="0dp"
|
||||
android:text="Add Read"
|
||||
android:minHeight="0dp"
|
||||
android:includeFontPadding="false"
|
||||
android:textColor="@color/white"
|
||||
android:id="@+id/add_read"
|
||||
android:checked="false"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
|
||||
<!-- 카테고리 툴바 -->
|
||||
<HorizontalScrollView
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:id="@+id/accessoryToolbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
@@ -49,6 +60,7 @@
|
||||
android:scrollbars="none">
|
||||
|
||||
<LinearLayout
|
||||
|
||||
android:id="@+id/categoryContainer"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
@@ -56,4 +68,4 @@
|
||||
android:gravity="center_vertical" />
|
||||
|
||||
</HorizontalScrollView>
|
||||
</LinearLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/grey_hex_20"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:orientation="vertical">
|
||||
|
||||
<!-- 검색어 입력 -->
|
||||
<EditText
|
||||
app:layout_constraintBottom_toTopOf="@id/check_private"
|
||||
android:padding="16dp"
|
||||
android:id="@+id/inputKeyword"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/white"
|
||||
android:hint="검색어 입력"
|
||||
android:imeOptions="actionSearch"
|
||||
android:inputType="text"
|
||||
android:singleLine="true" />
|
||||
|
||||
|
||||
<CheckBox
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintBottom_toTopOf="@id/accessoryToolbar"
|
||||
android:layout_margin="0dp"
|
||||
android:padding="0dp"
|
||||
android:includeFontPadding="false"
|
||||
android:text="private mode"
|
||||
android:gravity="right|center_vertical"
|
||||
android:textColor="@color/white"
|
||||
android:id="@+id/check_private"
|
||||
android:checked="true"
|
||||
android:minHeight="0dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<!-- 카테고리 툴바 -->
|
||||
<HorizontalScrollView
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:id="@+id/accessoryToolbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:background="#F0F0F0"
|
||||
android:scrollbars="none">
|
||||
|
||||
<RadioGroup
|
||||
|
||||
android:id="@+id/categoryContainer"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical" />
|
||||
|
||||
</HorizontalScrollView>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -59,6 +59,11 @@
|
||||
android:id="@+id/comics"
|
||||
style="@style/tabItem"
|
||||
android:layout_height="match_parent"/>
|
||||
<androidx.appcompat.widget.AppCompatRadioButton
|
||||
android:text="perplexity"
|
||||
android:id="@+id/perplexity"
|
||||
style="@style/tabItem"
|
||||
android:layout_height="match_parent"/>
|
||||
<androidx.appcompat.widget.AppCompatRadioButton
|
||||
android:text="zota"
|
||||
android:id="@+id/zota"
|
||||
@@ -66,16 +71,13 @@
|
||||
android:layout_height="match_parent"/>
|
||||
<androidx.appcompat.widget.AppCompatRadioButton
|
||||
android:text="twitter"
|
||||
android:visibility="gone"
|
||||
android:id="@+id/twitter"
|
||||
style="@style/tabItem"
|
||||
android:layout_height="match_parent"/>
|
||||
<Button
|
||||
android:text="hidden"
|
||||
android:id="@+id/hidden"
|
||||
|
||||
android:gravity="center"
|
||||
android:layout_width="60dp"
|
||||
<androidx.appcompat.widget.AppCompatRadioButton
|
||||
android:text="magnet"
|
||||
android:id="@+id/magnet"
|
||||
style="@style/tabItem"
|
||||
android:layout_height="match_parent"/>
|
||||
</RadioGroup>
|
||||
</HorizontalScrollView>
|
||||
|
||||
Reference in New Issue
Block a user