Some fixes

This commit is contained in:
tom79 2019-11-12 18:31:23 +01:00
parent 9de775b45e
commit 7f1084e1f3
6 changed files with 18 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<vector android:height="24dp" android:tint="#14161B"
<vector android:height="24dp" android:tint="#FFFFFFFF"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M19.35,10.04C18.67,6.59 15.64,4 12,4 9.11,4 6.6,5.64 5.35,8.04 2.34,8.36 0,10.91 0,14c0,3.31 2.69,6 6,6h13c2.76,0 5,-2.24 5,-5 0,-2.64 -2.05,-4.78 -4.65,-4.96zM14,13v4h-4v-4H7l5,-5 5,5h-3z"/>
<path android:fillColor="#FFFFFFFF" android:pathData="M19.35,10.04C18.67,6.59 15.64,4 12,4 9.11,4 6.6,5.64 5.35,8.04 2.34,8.36 0,10.91 0,14c0,3.31 2.69,6 6,6h13c2.76,0 5,-2.24 5,-5 0,-2.64 -2.05,-4.78 -4.65,-4.96zM14,13v4h-4v-4H7l5,-5 5,5h-3z"/>
</vector>

View File

@ -20,6 +20,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:TagsEditText="http://schemas.android.com/apk/res-auto"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_marginLeft="@dimen/fab_margin"
android:layout_marginStart="@dimen/fab_margin"
android:layout_marginRight="@dimen/fab_margin"
@ -121,6 +122,7 @@
<com.jaredrummler.materialspinner.MaterialSpinner
android:id="@+id/set_upload_channel"
android:layout_width="match_parent"
app:ms_background_color="?colorPrimaryDark"
android:layout_height="wrap_content" />
</LinearLayout>
@ -142,6 +144,7 @@
<com.jaredrummler.materialspinner.MaterialSpinner
android:id="@+id/set_upload_categories"
app:ms_background_color="?colorPrimaryDark"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
@ -164,6 +167,7 @@
<com.jaredrummler.materialspinner.MaterialSpinner
android:id="@+id/set_upload_licenses"
app:ms_background_color="?colorPrimaryDark"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
@ -186,6 +190,7 @@
<com.jaredrummler.materialspinner.MaterialSpinner
android:id="@+id/set_upload_languages"
app:ms_background_color="?colorPrimaryDark"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
@ -206,6 +211,7 @@
android:text="@string/action_privacy" />
<com.jaredrummler.materialspinner.MaterialSpinner
app:ms_background_color="?colorPrimaryDark"
android:id="@+id/set_upload_privacy"
android:layout_width="match_parent"
android:layout_height="wrap_content" />

View File

@ -19,6 +19,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
tools:context="app.fedilab.android.activities.PeertubeUploadActivity">
<LinearLayout
@ -66,6 +67,7 @@
<com.jaredrummler.materialspinner.MaterialSpinner
android:textSize="16sp"
android:id="@+id/set_upload_channel"
app:ms_background_color="?colorPrimaryDark"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
@ -89,6 +91,7 @@
<com.jaredrummler.materialspinner.MaterialSpinner
android:textSize="16sp"
app:ms_background_color="?colorPrimaryDark"
android:id="@+id/set_upload_privacy"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />

View File

@ -15,6 +15,7 @@
see <http://www.gnu.org/licenses>.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_margin="@dimen/fab_margin"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -37,6 +38,7 @@
<com.jaredrummler.materialspinner.MaterialSpinner
android:textSize="16sp"
app:ms_background_color="?colorPrimaryDark"
android:id="@+id/reg_category"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -57,6 +58,7 @@
<com.jaredrummler.materialspinner.MaterialSpinner
android:textSize="14sp"
app:ms_background_color="?colorPrimaryDark"
android:id="@+id/set_upload_channel"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
@ -80,6 +82,7 @@
<com.jaredrummler.materialspinner.MaterialSpinner
android:textSize="14sp"
android:id="@+id/set_upload_privacy"
app:ms_background_color="?colorPrimaryDark"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>

View File

@ -15,6 +15,7 @@
see <http://www.gnu.org/licenses>.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/swipeContainer"
android:paddingLeft="20dp"
android:paddingRight="20dp"
@ -34,11 +35,11 @@
<com.jaredrummler.materialspinner.MaterialSpinner
android:layout_marginBottom="20dp"
android:id="@+id/set_live_type"
app:ms_background_color="?colorPrimaryDark"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<TextView
android:id="@+id/set_live_type_indication"
android:textColor="@color/mastodonC2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
/>