mirror of
https://github.com/gsantner/dandelion
synced 2025-12-08 21:31:10 +01:00
Proxy tor preset
Set windowSoftInputMode to adjustResize, Repair sharing text into app, Repair image sharing on 4.2 Fix view intent Update TR; Update buildToolsVersion -> 24.0.2 Update ISSUE_TEMPLATE.md Update README.md Switch ic_launcher back to png Replace blowball image on splash with character Reworked UI using Fragments Merge branch 'master' into rework_fragments Update README.md Fixed top/bottom menu entry population Added HashtagFragment Moved WebClients and ChromeClients to webview package Removed SplashActivity, migrated PodSelectionActivity to PodSelectionFragment Merge branch 'master' into rework_fragments Handle Intent.Action.Main in handleIntent() Update strings-about.xml Fixed image sharing to other apps Get title for image sharing dialog from resources instead of using hardcoded string. Also do not show multiple permission dialogs stacked Removed test Fragments and old SplashActivity related stuff Merge branch 'master' into rework_fragments Added some documentation to MainActivity Fixed clear webview cache. Thanks @di72nn Only set window title depending on webviews content, when DiasporaStreamFragment is displayed (do not overwrite other fragments title when the webview loads in the background) Reworked custom themes Set customtab color Do not open load the stream when clicked on toolbar Added note about customtabs and proxys. Fixes #77 Resolved merge conflicts Removed duplicate method getAppSettings Fixed default color was id instead of color value bug Update TR Some improvements of code quality Moved colorpicker repo up Fixed applying of settings Fixed bug causing ClassCastException Moved ThemeHelper and ColorPalette to util.theming Added missing license headers to source files Merge branch 'master' into proper-themes Apply nav-slider entry visibilities in onResume SettingsActivity: Switched to Toolbar and fixed toolbar color issue Fixed BrowserFragment reloading in onResume and added credits to LeafPic Added reference to ColorPicker in 3rd party licenses and updated support libraries Merged master Fixed applying proxy settings Merged master proxy changes Fixed nav slider layout color issue Proxy tor preset Reworked custom themes Set customtab color Do not open load the stream when clicked on toolbar Added note about customtabs and proxys. Fixes #77 Resolved merge conflicts Removed duplicate method getAppSettings Fixed default color was id instead of color value bug Update TR Some improvements of code quality Moved colorpicker repo up Fixed applying of settings Fixed bug causing ClassCastException Moved ThemeHelper and ColorPalette to util.theming Added missing license headers to source files Merge branch 'master' into proper-themes Apply nav-slider entry visibilities in onResume SettingsActivity: Switched to Toolbar and fixed toolbar color issue Fixed BrowserFragment reloading in onResume and added credits to LeafPic Added reference to ColorPicker in 3rd party licenses and updated support libraries Merged master Fixed applying proxy settings Merged master proxy changes Fixed nav slider layout color issue Merge branch 'proper-themes' of github.com:Diaspora-for-Android/diaspora-android into proper-themes
This commit is contained in:
parent
a1ca8596b8
commit
c67992fc37
79 changed files with 2978 additions and 918 deletions
BIN
app/src/main/res/drawable-hdpi/ic_launcher.png
Normal file
BIN
app/src/main/res/drawable-hdpi/ic_launcher.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.3 KiB |
BIN
app/src/main/res/drawable-ldpi/ic_launcher.png
Normal file
BIN
app/src/main/res/drawable-ldpi/ic_launcher.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.7 KiB |
BIN
app/src/main/res/drawable-mdpi/ic_launcher.png
Normal file
BIN
app/src/main/res/drawable-mdpi/ic_launcher.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.2 KiB |
BIN
app/src/main/res/drawable-xhdpi/ic_launcher.png
Normal file
BIN
app/src/main/res/drawable-xhdpi/ic_launcher.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.5 KiB |
BIN
app/src/main/res/drawable-xxhdpi/ic_launcher.png
Normal file
BIN
app/src/main/res/drawable-xxhdpi/ic_launcher.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7 KiB |
BIN
app/src/main/res/drawable-xxxhdpi/ic_launcher.png
Normal file
BIN
app/src/main/res/drawable-xxxhdpi/ic_launcher.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.4 KiB |
|
|
@ -1,6 +0,0 @@
|
|||
<vector android:height="24dp" android:viewportHeight="20.0"
|
||||
android:viewportWidth="20.0" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillAlpha="1" android:fillColor="#207be6"
|
||||
android:pathData="M10,10m-10,0a10,10 0,1 1,20 0a10,10 0,1 1,-20 0" android:strokeColor="#00000000"/>
|
||||
<path android:fillColor="#fafafa" android:pathData="M11.337,14.123C11.06,13.736 10.626,13.13 10.374,12.778 10.117,12.418 9.908,12.138 9.897,12.138c-0.011,-0 -0.416,0.544 -0.958,1.287 -0.516,0.708 -0.942,1.288 -0.948,1.288 -0.015,0 -1.86,-1.3 -1.865,-1.313 -0.002,-0.007 0.415,-0.619 0.927,-1.361 0.512,-0.742 0.931,-1.36 0.931,-1.375 0,-0.023 -0.166,-0.081 -1.468,-0.515C5.71,9.879 5.042,9.656 5.032,9.652 5.019,9.647 5.095,9.389 5.359,8.558 5.549,7.959 5.708,7.465 5.713,7.459c0.005,-0.006 0.707,0.219 1.559,0.499 0.852,0.28 1.557,0.51 1.565,0.51 0.009,-0 0.019,-0.013 0.022,-0.029 0.003,-0.016 0.011,-0.742 0.016,-1.613 0.006,-0.871 0.015,-1.591 0.021,-1.6 0.008,-0.013 0.248,-0.016 1.127,-0.016 0.614,0 1.123,0.004 1.13,0.01 0.01,0.007 0.027,0.485 0.055,1.561 0.046,1.766 0.047,1.79 0.075,1.79 0.011,0 0.686,-0.226 1.501,-0.502 0.815,-0.276 1.485,-0.498 1.49,-0.492 0.016,0.019 0.685,2.194 0.676,2.202 -0.004,0.004 -0.684,0.237 -1.511,0.517 -1.137,0.385 -1.504,0.514 -1.507,0.531 -0.002,0.012 0.389,0.596 0.886,1.324 0.489,0.716 0.888,1.308 0.886,1.314 -0.005,0.015 -1.836,1.364 -1.852,1.364 -0.006,0 -0.239,-0.317 -0.516,-0.705z"/>
|
||||
</vector>
|
||||
|
|
@ -1,5 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:id="@android:id/progress">
|
||||
<clip>
|
||||
<shape>
|
||||
<solid android:color="@color/white"/>
|
||||
</shape>
|
||||
</clip>
|
||||
</item>
|
||||
|
||||
<!-- Old progressbar
|
||||
|
||||
<item android:id="@android:id/background">
|
||||
<shape>
|
||||
<solid android:color="@color/colorPrimaryDark"/>
|
||||
|
|
@ -12,4 +22,6 @@
|
|||
</shape>
|
||||
</clip>
|
||||
</item>
|
||||
|
||||
-->
|
||||
</layer-list>
|
||||
13
app/src/main/res/drawable/tor_onion.xml
Normal file
13
app/src/main/res/drawable/tor_onion.xml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<vector android:height="24dp" android:viewportHeight="185.0"
|
||||
android:viewportWidth="185.0" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#abcd03" android:pathData="m103.9,14.01 l-4.92,19.53c6.97,-13.79 18.03,-24.17 30.73,-33.32 -9.29,10.79 -17.75,21.58 -22.94,32.37 8.74,-12.29 20.49,-19.12 33.73,-23.63 -17.62,15.71 -31.6,32.56 -42.26,49.49l-8.47,-3.69c1.5,-13.52 6.61,-27.37 14.12,-40.75z"/>
|
||||
<path android:fillColor="#fffcdb" android:pathData="m81.29,51.17 l16.12,6.69c0,4.1 -0.33,16.6 2.23,20.28 26.8,34.52 22.29,103.71 -5.43,105.49 -42.22,0 -58.32,-28.68 -58.32,-55.04 0,-24.04 28.82,-40.02 46.03,-54.22 4.37,-3.82 3.61,-12.28 -0.62,-23.2z"/>
|
||||
<path android:fillColor="#7d4698" android:pathData="m97.41,57.62 l5.81,2.96c-0.55,3.82 0.27,12.29 4.1,14.48 16.94,10.52 32.91,21.99 39.2,33.46 22.4,40.43 -15.71,77.85 -48.62,74.3 17.89,-13.25 23.08,-40.43 16.39,-70.06 -2.73,-11.61 -6.97,-22.13 -14.48,-34.01 -3.25,-5.83 -2.12,-13.07 -2.39,-21.12z"/>
|
||||
<path android:fillColor="#FF000000" android:pathData="m94.61,56.62 l12.02,1.64c-3.55,11.74 6.97,19.94 10.38,21.85 7.65,4.23 15.02,8.6 20.9,13.93 11.06,10.11 17.34,24.31 17.34,39.33 0,14.89 -6.83,29.23 -18.3,38.79 -10.79,9.01 -25.68,12.84 -40.15,12.84 -9.01,0 -17.07,-0.41 -25.81,-3.28 -19.94,-6.69 -34.83,-23.76 -36.06,-44.25 -1.09,-15.98 2.46,-28.13 14.89,-40.83 6.42,-6.69 19.39,-14.34 28.27,-20.49 4.37,-3.01 9.01,-11.47 0.14,-27.45l1.78,-1.37 13.16,8.81 -11.11,-4.58c0.96,1.37 3.55,7.51 4.1,9.29 1.23,5.05 0.68,9.97 -0.41,12.15 -5.6,10.11 -15.16,12.84 -22.12,18.57 -12.29,10.11 -25.68,18.16 -24.17,45.89 0.68,13.66 11.34,30.32 27.31,38.1 9.01,4.37 19.39,6.15 29.91,6.69 9.42,0.41 27.45,-5.19 37.28,-13.38 10.52,-8.74 16.39,-21.99 16.39,-35.51 0,-13.66 -5.46,-26.63 -15.71,-35.78 -5.87,-5.33 -15.57,-11.74 -21.58,-15.16 -6.01,-3.41 -13.52,-12.97 -11.06,-22.12z"/>
|
||||
<path android:fillColor="#FF000000" android:pathData="m90.93,76.84c-1.23,6.28 -2.6,17.62 -8.06,21.85 -2.32,1.64 -4.64,3.28 -7.1,4.92 -9.83,6.69 -19.67,12.97 -24.17,29.09 -0.96,3.41 -0.14,7.1 0.68,10.52 2.46,9.83 9.42,20.49 14.89,26.77 0,0.27 1.09,0.96 1.09,1.23 4.51,5.33 5.87,6.83 22.94,10.65l-0.41,1.91c-10.24,-2.73 -18.71,-5.19 -24.04,-11.34 0,-0.14 -0.96,-1.09 -0.96,-1.09 -5.74,-6.56 -12.7,-17.48 -15.3,-27.72 -0.96,-4.1 -1.77,-7.24 -0.68,-11.47 4.64,-16.66 14.75,-23.22 24.99,-30.18 2.32,-1.5 5.05,-2.87 7.24,-4.64 4.23,-3.14 6.55,-12.7 8.88,-20.49z"/>
|
||||
<path android:fillColor="#FF000000" android:pathData="m95.29,102.78c0.14,7.1 -0.56,10.66 1.22,15.72 1.09,3 4.78,7.1 5.88,11.06 1.5,5.33 3.14,11.2 3,14.75 0,4.1 -0.26,11.74 -2.03,19.94 -1.35,6.77 -4.47,12.58 -9.72,15.88 -5.37,-1.11 -11.68,-3 -15.41,-6.19 -7.24,-6.28 -13.65,-16.79 -14.47,-25.94 -0.68,-7.51 6.27,-18.59 15.97,-24.19 8.19,-4.78 10.1,-10.23 11.88,-18.97 -2.46,7.65 -4.77,14.06 -12.69,18.16 -11.47,6.01 -17.36,16.1 -16.81,25.66 0.82,12.29 5.74,20.62 15.44,27.31 4.1,2.87 11.75,5.9 16.53,6.72l0,-0.63c3.62,-0.68 8.32,-6.63 10.66,-14.69 2.05,-7.24 2.86,-16.5 2.72,-22.37 -0.14,-3.41 -1.64,-10.81 -4.38,-17.5 -1.5,-3.69 -3.81,-7.37 -5.31,-9.97 -1.64,-2.6 -1.65,-8.19 -2.47,-14.75z"/>
|
||||
<path android:fillColor="#FF000000" android:pathData="m94.48,129.56c0.14,4.78 2.06,10.9 2.88,17.19 0.68,4.64 0.39,9.31 0.25,13.41 -0.13,4.74 -1.72,13.24 -3.88,17.38 -2.04,-0.93 -2.83,-2 -4.16,-3.72 -1.64,-2.32 -2.75,-4.64 -3.84,-7.38 -0.82,-2.05 -1.78,-4.39 -2.19,-7.13 -0.55,-4.1 -0.39,-10.51 4.25,-17.06 3.55,-5.19 4.36,-5.58 5.59,-11.59 -1.64,5.33 -2.86,5.87 -6.69,10.38 -4.23,4.92 -4.94,12.16 -4.94,18.03 0,2.46 0.98,5.19 1.94,7.78 1.09,2.73 2.03,5.45 3.53,7.5 2.26,3.32 5.15,5.21 6.56,5.56 0.01,0 0.02,-0 0.03,0 0.03,0.01 0.06,0.03 0.09,0.03l0,-0.16c2.65,-2.95 4.24,-5.89 4.78,-8.84 0.68,-3.55 0.84,-7.11 1.25,-11.34 0.41,-3.55 0.11,-8.33 -0.84,-13.25 -1.37,-6.15 -3.67,-12.41 -4.63,-16.78z"/>
|
||||
<path android:fillColor="#FF000000" android:pathData="m94.89,71.1c0.14,7.1 0.68,20.35 2.6,25.54 0.55,1.77 5.6,9.56 9.15,18.98 2.46,6.56 3.01,12.56 3.41,14.34 1.64,7.78 -0.41,20.9 -3.14,33.32 -1.37,6.69 -6.01,15.02 -11.34,18.3l-1.09,1.91c3.01,-0.14 10.38,-7.38 12.97,-16.39 4.37,-15.3 6.15,-22.4 4.1,-39.33 -0.27,-1.64 -0.96,-7.24 -3.55,-13.25 -3.82,-9.15 -9.29,-17.89 -9.97,-19.67 -1.23,-2.87 -2.87,-15.3 -3.14,-23.76z"/>
|
||||
<path android:fillColor="#FF000000" android:pathData="m97.45,61.39c-0.41,7.3 -0.51,9.99 0.85,15.31 1.5,5.87 9.15,14.34 12.29,24.04 6.01,18.57 4.51,42.88 0.14,61.87 -1.64,6.69 -9.42,16.39 -17.21,19.53l5.74,1.37c3.14,-0.14 11.2,-7.65 14.34,-16.25 5.05,-13.52 6.01,-29.64 3.96,-46.57 -0.14,-1.64 -2.87,-16.25 -5.46,-22.4 -3.69,-9.15 -10.24,-17.34 -10.93,-19.12 -1.23,-3.01 -3.93,-9.24 -3.72,-17.77z"/>
|
||||
<path android:fillColor="#FF000000" android:pathData="M93.11,56.25h0.55v126.02h-0.55z"/>
|
||||
</vector>
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<android.support.design.widget.CoordinatorLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/main_content"
|
||||
|
|
@ -9,7 +10,7 @@
|
|||
tools:context="com.github.dfa.diaspora_android.activity.AboutActivity">
|
||||
|
||||
<android.support.design.widget.AppBarLayout
|
||||
android:id="@+id/appbar"
|
||||
android:id="@+id/about__appbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:theme="@style/AppTheme.AppBarOverlay">
|
||||
|
|
@ -17,7 +18,7 @@
|
|||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/linearlayout"
|
||||
android:id="@+id/appbar_linear_layout"
|
||||
android:orientation="vertical"
|
||||
android:background="?attr/colorPrimary"
|
||||
app:layout_scrollFlags="scroll|enterAlways|snap"
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@
|
|||
android:layout_height="16dp" />
|
||||
|
||||
<com.github.dfa.diaspora_android.ui.HtmlTextView
|
||||
android:id="@+id/fragment_about__about_text"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/fragment_about__about_content"
|
||||
|
|
|
|||
35
app/src/main/res/layout/color_picker__dialog.xml
Normal file
35
app/src/main/res/layout/color_picker__dialog.xml
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
<?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="match_parent">
|
||||
<FrameLayout
|
||||
android:id="@+id/color_picker_dialog__title_background"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<TextView
|
||||
android:id="@+id/color_picker_dialog__title"
|
||||
android:layout_margin="20dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Large.Inverse"
|
||||
/>
|
||||
</FrameLayout>
|
||||
<uz.shift.colorpicker.LineColorPicker
|
||||
android:id="@+id/color_picker_dialog__base_picker"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_margin="10dp"
|
||||
app:orientation="horizontal"/>
|
||||
<uz.shift.colorpicker.LineColorPicker
|
||||
android:id="@+id/color_picker_dialog__shade_picker"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginTop="30dp"
|
||||
android:layout_margin="10dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
app:orientation="horizontal"/>
|
||||
|
||||
</LinearLayout>
|
||||
27
app/src/main/res/layout/hashtag_list__fragment.xml
Normal file
27
app/src/main/res/layout/hashtag_list__fragment.xml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<android.support.v4.widget.NestedScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
<android.support.v7.widget.RecyclerView
|
||||
android:id="@+id/fragment_followed_tags__recycler_view"
|
||||
android:scrollbars="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:layout_behavior="@string/appbar_scrolling_view_behavior"/>
|
||||
|
||||
<!-- Offset -->
|
||||
<android.support.v4.widget.Space
|
||||
android:id="@+id/spacer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/bottom_toolbar_height"/>
|
||||
</LinearLayout>
|
||||
</android.support.v4.widget.NestedScrollView>
|
||||
</RelativeLayout>
|
||||
|
|
@ -8,9 +8,9 @@
|
|||
tools:context=".activity.MainActivity">
|
||||
|
||||
<android.support.design.widget.AppBarLayout
|
||||
android:id="@+id/main__appbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
android:theme="@style/AppTheme.AppBarOverlay">
|
||||
|
||||
<android.support.v7.widget.Toolbar
|
||||
|
|
@ -32,7 +32,7 @@
|
|||
<android.support.design.widget.AppBarLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:layout_gravity="bottom|end"
|
||||
android:theme="@style/AppTheme.AppBarOverlay"
|
||||
app:layout_behavior=".ui.BottomBarBehavior">
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/nav_drawer"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="110dp"
|
||||
android:gravity="bottom"
|
||||
|
|
|
|||
|
|
@ -1,88 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fitsSystemWindows="true"
|
||||
tools:context=".activity.PodSelectionActivity">
|
||||
|
||||
<android.support.design.widget.AppBarLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:theme="@style/AppTheme.AppBarOverlay">
|
||||
|
||||
<android.support.v7.widget.Toolbar
|
||||
android:id="@+id/main__topbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?attr/actionBarSize"
|
||||
android:background="?attr/colorPrimary"
|
||||
app:popupTheme="@style/AppTheme.PopupOverlay" />
|
||||
|
||||
</android.support.design.widget.AppBarLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
||||
tools:showIn="@layout/podselection__activity">
|
||||
|
||||
<ListView
|
||||
android:id="@+id/podselection__listpods"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_above="@+id/podselection__podupti_notice"
|
||||
android:layout_below="@+id/podselection__edit_filter"
|
||||
android:choiceMode="singleChoice" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/podselection__edit_filter"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_toEndOf="@+id/textView"
|
||||
android:layout_toStartOf="@+id/podselection__button_select_pod"
|
||||
android:hint="@string/filter_hint"
|
||||
android:inputType="textUri|textWebEditText" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/podselection__button_select_pod"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_above="@+id/podselection__listpods"
|
||||
android:layout_alignEnd="@+id/podselection__listpods"
|
||||
android:layout_alignTop="@+id/podselection__edit_filter"
|
||||
android:contentDescription="@string/confirm_url"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:src="@drawable/ic_arrow_forward_black_48px" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/podselection__podupti_notice"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:autoLink="web"
|
||||
android:text="@string/podlist_source_note"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_above="@+id/podselection__listpods"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_marginEnd="0dp"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/prefix_https"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</android.support.design.widget.CoordinatorLayout>
|
||||
65
app/src/main/res/layout/podselection__fragment.xml
Normal file
65
app/src/main/res/layout/podselection__fragment.xml
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
||||
tools:showIn="@layout/podselection__fragment">
|
||||
|
||||
<ListView
|
||||
android:id="@+id/podselection__listpods"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_above="@+id/podselection__podupti_notice"
|
||||
android:layout_below="@+id/podselection__edit_filter"
|
||||
android:choiceMode="singleChoice" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/podselection__edit_filter"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_toEndOf="@+id/textView"
|
||||
android:layout_toStartOf="@+id/podselection__button_select_pod"
|
||||
android:hint="@string/filter_hint"
|
||||
android:inputType="textUri|textWebEditText" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/podselection__button_select_pod"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_above="@+id/podselection__listpods"
|
||||
android:layout_alignEnd="@+id/podselection__listpods"
|
||||
android:layout_alignTop="@+id/podselection__edit_filter"
|
||||
android:contentDescription="@string/confirm_url"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:src="@drawable/ic_arrow_forward_black_48px" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/podselection__podupti_notice"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:autoLink="web"
|
||||
android:text="@string/podlist_source_note"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_above="@+id/podselection__listpods"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_marginEnd="0dp"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/prefix_https"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium" />
|
||||
</RelativeLayout>
|
||||
23
app/src/main/res/layout/recycler_view__list_item.xml
Normal file
23
app/src/main/res/layout/recycler_view__list_item.xml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="@color/divider"/>
|
||||
<TextView
|
||||
android:id="@+id/recycler_view__list_item__text"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/activity_horizontal_margin"
|
||||
android:layout_marginEnd="@dimen/activity_horizontal_margin"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginBottom="12dp"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Large" />
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="@color/divider"/>
|
||||
</LinearLayout>
|
||||
33
app/src/main/res/layout/settings__activity.xml
Normal file
33
app/src/main/res/layout/settings__activity.xml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<android.support.design.widget.CoordinatorLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fitsSystemWindows="true"
|
||||
tools:context=".activity.SettingsActivity">
|
||||
|
||||
<android.support.design.widget.AppBarLayout
|
||||
android:id="@+id/settings__appbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:theme="@style/AppTheme.AppBarOverlay">
|
||||
|
||||
<android.support.v7.widget.Toolbar
|
||||
android:id="@+id/settings__toolbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?attr/actionBarSize"
|
||||
android:background="?attr/colorPrimary"
|
||||
app:layout_scrollFlags="scroll|enterAlways|snap"
|
||||
app:popupTheme="@style/AppTheme.PopupOverlay"/>
|
||||
|
||||
</android.support.design.widget.AppBarLayout>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/settings__fragment_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:layout_behavior="@string/appbar_scrolling_view_behavior"/>
|
||||
|
||||
</android.support.design.widget.CoordinatorLayout>
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/primary"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
tools:context=".activity.SplashActivity">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:shadowColor="@color/black"
|
||||
android:minHeight="100dp"
|
||||
android:scaleType="fitXY"
|
||||
android:minWidth="100dp"
|
||||
android:src="@drawable/ic_launcher"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginBottom="30dp"
|
||||
android:text="@string/app_name"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="32sp"
|
||||
android:textStyle="bold"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
|
@ -61,7 +61,7 @@
|
|||
android:title="@string/settings" />
|
||||
|
||||
<item
|
||||
android:id="@+id/nav_help_license"
|
||||
android:id="@+id/nav_about"
|
||||
android:icon="@drawable/ic_info_black_48px"
|
||||
android:title="@string/nav_help_license" />
|
||||
</menu>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:context=".activity.PodSelectionActivity">
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<item
|
||||
android:id="@+id/action_reload"
|
||||
|
|
|
|||
|
|
@ -4,6 +4,9 @@ https://github.com/guardianproject/NetCipher
|
|||
NEWENTRY ButterKnife
|
||||
https://jakewharton.github.io/butterknife
|
||||
|
||||
NEWENTRY ShiftColorPicker
|
||||
https://github.com/DASAR/ShiftColorPicker
|
||||
|
||||
NEWENTRY Android Support Library
|
||||
https://developer.android.com/topic/libraries/support-library/index.html
|
||||
|
||||
|
|
|
|||
|
|
@ -14,6 +14,13 @@
|
|||
<string name="pref_title__sub_nav_slider">Navigations Slider</string>
|
||||
<string name="pref_desc__sub_nav_slider">Konfiguration der Sichtbarkeit von Einträgen im Navigation-Slider</string>
|
||||
<string name="pref_cat__visibility_nav_items">Sichtbarkeit der Einträge</string>
|
||||
<!-- Themes -->
|
||||
<string name="pref_title__themes">Farbschema</string>
|
||||
<string name="pref_desc__themes">Einstellungen des Farbdesigns</string>
|
||||
<string name="pref_title__primary_color">Primärfarbe</string>
|
||||
<string name="pref_desc__primary_color">Färbung der Werkzeugleisten</string>
|
||||
<string name="pref_title__accent_color">Akzentfarbe</string>
|
||||
<string name="pref_desc__accent_color">Färbung der Details</string>
|
||||
<!-- Font size -->
|
||||
<string name="pref_title__font_size">Schriftgröße</string>
|
||||
<!-- prefix 's' is needed to make this a string array. Otherwise ListPreference would crash -->
|
||||
|
|
@ -21,13 +28,14 @@
|
|||
<string name="pref_title__load_images">Lade Bilder</string>
|
||||
<string name="pref_desc__load_images">Deaktiviere das Laden von Bildern, um den Datenverbrauch zu verringern</string>
|
||||
<!-- Proxy -->
|
||||
<string name="pref_title__sub_proxy">Proxy</string>
|
||||
<string name="pref_title__proxy_enabled">Aktiviere Netzwerkproxy</string>
|
||||
<string name="pref_desc__proxy_enabled">Nutze einen Proxyserver, um Firewalls zu umgehen</string>
|
||||
<string name="pref_title__proxy_host">Host</string>
|
||||
<string name="pref_title__proxy_port">Port</string>
|
||||
<string name="pref_desc__http_proxy_enabled">Nutze einen Proxyserver, um Firewalls zu umgehen</string>
|
||||
<string name="pref_title__http_proxy_host">Host</string>
|
||||
<string name="pref_title__http_proxy_port">Port</string>
|
||||
<!-- Chrome custom tabs -->
|
||||
<string name="pref_title__chrome_custom_tabs_enabled">Chrome Custom Tabs</string>
|
||||
<string name="pref_desc__chrome_custom_tabs_enabled">Externe Links mit Chrome Custom Tabs öffnen. Für dieses Feature muss Chromium oder Google Chrome installiert sein</string>
|
||||
<string name="pref_desc__chrome_custom_tabs_enabled">Externe Links mit Chrome Custom Tabs öffnen. Chromium oder Google Chrome muss für dieses Feature installiert sein.\nWICHTIGER HINWEIS: Chrome Custom Tabs verwenden die konfigurierten Proxy-Server nicht!</string>
|
||||
<!-- Diaspora Settings -->
|
||||
<string name="pref_title__personal_settings">Persönliche Einstellungen</string>
|
||||
<string name="pref_desc__personal_settings">Öffne die Einstellungen deines Diaspora Accounts</string>
|
||||
|
|
|
|||
|
|
@ -22,9 +22,9 @@
|
|||
<string name="pref_desc__load_images">Desactivar la carga de de imágenes a datos móviles seguros</string>
|
||||
<!-- Proxy -->
|
||||
<string name="pref_title__proxy_enabled">Activar Proxy</string>
|
||||
<string name="pref_desc__proxy_enabled">El tráfico proxificado de Diaspora para evitar firewalls.\nPuede necesitar reiniciarse</string>
|
||||
<string name="pref_title__proxy_host">Anfitrión</string>
|
||||
<string name="pref_title__proxy_port">Puerto</string>
|
||||
<string name="pref_desc__http_proxy_enabled">El tráfico proxificado de Diaspora para evitar firewalls.\nPuede necesitar reiniciarse</string>
|
||||
<string name="pref_title__http_proxy_host">Anfitrión</string>
|
||||
<string name="pref_title__http_proxy_port">Puerto</string>
|
||||
<!-- Chrome custom tabs -->
|
||||
<!-- Diaspora Settings -->
|
||||
<string name="pref_title__personal_settings">Configuración personal</string>
|
||||
|
|
|
|||
|
|
@ -21,13 +21,13 @@
|
|||
<string name="pref_title__load_images">Charger les images</string>
|
||||
<string name="pref_desc__load_images">Désactiver le chargements des images pour préserver la data mobile</string>
|
||||
<!-- Proxy -->
|
||||
<string name="pref_title__sub_proxy">Proxy</string>
|
||||
<string name="pref_title__proxy_enabled">Activer Proxy</string>
|
||||
<string name="pref_desc__proxy_enabled">Serveur Proxy.\n(Nécessite un redémarrage)</string>
|
||||
<string name="pref_title__proxy_host">Hôte</string>
|
||||
<string name="pref_title__proxy_port">Port</string>
|
||||
<string name="pref_desc__http_proxy_enabled">Serveur Proxy.\n(Nécessite un redémarrage)</string>
|
||||
<string name="pref_title__http_proxy_host">Hôte</string>
|
||||
<string name="pref_title__http_proxy_port">Port</string>
|
||||
<!-- Chrome custom tabs -->
|
||||
<string name="pref_title__chrome_custom_tabs_enabled">Onglets personnalisés de Chrome</string>
|
||||
<string name="pref_desc__chrome_custom_tabs_enabled">Ouvrir les liens externes avec les onglets personnalisés. Chromium ou Google Chrome doit être installé pour cette fonctionnalité</string>
|
||||
<!-- Diaspora Settings -->
|
||||
<string name="pref_title__personal_settings">Paramètres personnels</string>
|
||||
<string name="pref_desc__personal_settings">Ouvrir vos paramètres de compte diaspora</string>
|
||||
|
|
|
|||
|
|
@ -21,11 +21,13 @@
|
|||
<string name="pref_title__load_images">Carica immagini</string>
|
||||
<string name="pref_desc__load_images">Disabilita il caricamento delle immagini per risparmiare la rete dati</string>
|
||||
<!-- Proxy -->
|
||||
<string name="pref_title__sub_proxy">Proxy</string>
|
||||
<string name="pref_title__proxy_enabled">Attiva proxy</string>
|
||||
<string name="pref_desc__proxy_enabled">Traffico del proxy di Diaspora per bypassare i firewall.\nPuò essere necessario il riavvio dell\'app</string>
|
||||
<string name="pref_title__proxy_host">Host</string>
|
||||
<string name="pref_title__proxy_port">Porta</string>
|
||||
<string name="pref_desc__http_proxy_enabled">Traffico del proxy di Diaspora per bypassare i firewall.\nPuò essere necessario il riavvio dell\'app</string>
|
||||
<string name="pref_title__http_proxy_host">Host</string>
|
||||
<string name="pref_title__http_proxy_port">Porta</string>
|
||||
<!-- Chrome custom tabs -->
|
||||
<string name="pref_title__chrome_custom_tabs_enabled">Schede personalizzate di Chrome</string>
|
||||
<!-- Diaspora Settings -->
|
||||
<string name="pref_title__personal_settings">Impostazioni personali</string>
|
||||
<string name="pref_desc__personal_settings">Apri le impostazioni del tuo account Diaspora</string>
|
||||
|
|
|
|||
|
|
@ -21,13 +21,13 @@
|
|||
<string name="pref_title__load_images">画像の読み込み</string>
|
||||
<string name="pref_desc__load_images">安全なモバイルデータのため、画像の読み込みを無効にします</string>
|
||||
<!-- Proxy -->
|
||||
<string name="pref_title__sub_proxy">プロキシ</string>
|
||||
<string name="pref_title__proxy_enabled">プロキシを有効にする</string>
|
||||
<string name="pref_desc__proxy_enabled">Diaspora の通信をプロキシして、ファイアウォールに回避します。\n再起動が必要になることがあります</string>
|
||||
<string name="pref_title__proxy_host">ホスト</string>
|
||||
<string name="pref_title__proxy_port">ポート</string>
|
||||
<string name="pref_desc__http_proxy_enabled">Diaspora の通信をプロキシして、ファイアウォールに回避します。\n再起動が必要になることがあります</string>
|
||||
<string name="pref_title__http_proxy_host">ホスト</string>
|
||||
<string name="pref_title__http_proxy_port">ポート</string>
|
||||
<!-- Chrome custom tabs -->
|
||||
<string name="pref_title__chrome_custom_tabs_enabled">Chrome カスタムタブ</string>
|
||||
<string name="pref_desc__chrome_custom_tabs_enabled">Chrome カスタム タブで外部リンクを開きます。この機能は Chromium または Google Chrome をインストールする必要があります</string>
|
||||
<!-- Diaspora Settings -->
|
||||
<string name="pref_title__personal_settings">個人用設定</string>
|
||||
<string name="pref_desc__personal_settings">Diaspora アカウント設定を開きます</string>
|
||||
|
|
|
|||
|
|
@ -22,9 +22,9 @@
|
|||
<string name="pref_desc__load_images">മൊബൈൽ ഡാറ്റ ഉപഭോഗം കുറയ്ക്കാനായി ചിത്രങ്ങൾ ലോഡ് ചെയ്യാതിരിക്കുക</string>
|
||||
<!-- Proxy -->
|
||||
<string name="pref_title__proxy_enabled">പ്രോക്സി അനുവദിക്കൂ</string>
|
||||
<string name="pref_desc__proxy_enabled">ഫയർവാളുകളെ മറികടക്കാൻ ഡയസ്പോറ ട്രാഫിക് പ്രോക്സി ചെയ്യൂ.\nപുനരാരംഭിക്കേണ്ടി വന്നേക്കാം</string>
|
||||
<string name="pref_title__proxy_host">ആഥിതേയൻ</string>
|
||||
<string name="pref_title__proxy_port">പോർട്ട്</string>
|
||||
<string name="pref_desc__http_proxy_enabled">ഫയർവാളുകളെ മറികടക്കാൻ ഡയസ്പോറ ട്രാഫിക് പ്രോക്സി ചെയ്യൂ.\nപുനരാരംഭിക്കേണ്ടി വന്നേക്കാം</string>
|
||||
<string name="pref_title__http_proxy_host">ആഥിതേയൻ</string>
|
||||
<string name="pref_title__http_proxy_port">പോർട്ട്</string>
|
||||
<!-- Chrome custom tabs -->
|
||||
<!-- Diaspora Settings -->
|
||||
<string name="pref_title__personal_settings">സ്വകാര്യ സജ്ജീകരണങ്ങൾ</string>
|
||||
|
|
|
|||
|
|
@ -21,9 +21,9 @@
|
|||
<string name="pref_desc__load_images">Afbeelding laden uitschakelen om mobiele data te besparen</string>
|
||||
<!-- Proxy -->
|
||||
<string name="pref_title__proxy_enabled">Proxy inschakelen</string>
|
||||
<string name="pref_desc__proxy_enabled">Gebruik een Proxy voor Diaspora om de firewalls te omzeilen.\nRestart nodig</string>
|
||||
<string name="pref_title__proxy_host">Host</string>
|
||||
<string name="pref_title__proxy_port">Poort</string>
|
||||
<string name="pref_desc__http_proxy_enabled">Gebruik een Proxy voor Diaspora om de firewalls te omzeilen.\nRestart nodig</string>
|
||||
<string name="pref_title__http_proxy_host">Host</string>
|
||||
<string name="pref_title__http_proxy_port">Poort</string>
|
||||
<!-- Chrome custom tabs -->
|
||||
<!-- Diaspora Settings -->
|
||||
<string name="pref_title__personal_settings">Persoonlijke instellingen</string>
|
||||
|
|
|
|||
|
|
@ -22,9 +22,9 @@
|
|||
<string name="pref_desc__load_images">Desabilitar o carregamento de imagens para economizar seus créditos</string>
|
||||
<!-- Proxy -->
|
||||
<string name="pref_title__proxy_enabled">Habilitar o Proxy</string>
|
||||
<string name="pref_desc__proxy_enabled">Usar proxy para o tráfego da diáspora para contornar firewalls.\nPode requerer reinicialização</string>
|
||||
<string name="pref_title__proxy_host">Servidor</string>
|
||||
<string name="pref_title__proxy_port">Porta</string>
|
||||
<string name="pref_desc__http_proxy_enabled">Usar proxy para o tráfego da diáspora para contornar firewalls.\nPode requerer reinicialização</string>
|
||||
<string name="pref_title__http_proxy_host">Servidor</string>
|
||||
<string name="pref_title__http_proxy_port">Porta</string>
|
||||
<!-- Chrome custom tabs -->
|
||||
<!-- Diaspora Settings -->
|
||||
<string name="pref_title__personal_settings">Configurações pessoais</string>
|
||||
|
|
|
|||
|
|
@ -22,9 +22,9 @@
|
|||
<string name="pref_desc__load_images">Отключить загрузку изображений для экономии траффика</string>
|
||||
<!-- Proxy -->
|
||||
<string name="pref_title__proxy_enabled">Использовать прокси</string>
|
||||
<string name="pref_desc__proxy_enabled">Перенаправить трафик Диаспоры в обход брандмауэров.\nМожет потребовать перезапуска</string>
|
||||
<string name="pref_title__proxy_host">Хост</string>
|
||||
<string name="pref_title__proxy_port">Порт</string>
|
||||
<string name="pref_desc__http_proxy_enabled">Перенаправить трафик Диаспоры в обход брандмауэров.\nМожет потребовать перезапуска</string>
|
||||
<string name="pref_title__http_proxy_host">Хост</string>
|
||||
<string name="pref_title__http_proxy_port">Порт</string>
|
||||
<!-- Chrome custom tabs -->
|
||||
<!-- Diaspora Settings -->
|
||||
<string name="pref_title__personal_settings">Личные настройки</string>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<resources>>
|
||||
|
||||
<style name="AppTheme.NoActionBar">
|
||||
<style name="DiasporaLight.NoActionBar">
|
||||
<item name="windowActionBar">false</item>
|
||||
<item name="windowNoTitle">true</item>
|
||||
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="colorPrimary">@color/primary</color>
|
||||
<color name="colorPrimaryDark">@color/primary_dark</color>
|
||||
<color name="colorAccent">@color/accent</color>
|
||||
<color name="colorPrimary">@color/md_blue_650</color>
|
||||
<color name="colorPrimaryDark">@color/md_blue_750</color>
|
||||
<color name="colorAccent">@color/md_deep_orange_650</color>
|
||||
|
||||
<!-- Colors from Palette -->
|
||||
<color name="primary">#207be6</color>
|
||||
<color name="primary_dark">#195ed2</color>
|
||||
<color name="primary">@color/md_blue_650</color>
|
||||
<color name="primary_dark">@color/md_blue_750</color>
|
||||
<color name="accent">@color/md_deep_orange_650</color>
|
||||
<color name="primary_light">#BBDEFB</color>
|
||||
<color name="accent">#FF5300</color>
|
||||
<color name="primary_text">#212121</color>
|
||||
<color name="secondary_text">#727272</color>
|
||||
<color name="icons">#FFFFFF</color>
|
||||
|
|
@ -17,4 +17,331 @@
|
|||
|
||||
<color name="white">#ffffff</color>
|
||||
<color name="black">#000000</color>
|
||||
</resources>
|
||||
|
||||
<!-- Taken from org.horaapps.leafpic -->
|
||||
<!--Accent Color Collection-->
|
||||
<color name="accent_red">#f44336</color>
|
||||
<color name="accent_pink">#e91e63</color>
|
||||
<color name="accent_purple">#9c27b0</color>
|
||||
<color name="accent_deep_purple">#673ab7</color>
|
||||
<color name="accent_indago">#3f51b5</color>
|
||||
<color name="accent_blue">#2196f3</color>
|
||||
<color name="accent_cyan">#00bcd4</color>
|
||||
<color name="accent_teal">#009688</color>
|
||||
<color name="accent_green">#4caf50</color>
|
||||
<color name="accent_yellow">#ffeb3b</color>
|
||||
<color name="accent_amber">#ffc107</color>
|
||||
<color name="accent_orange">#ff9800</color>
|
||||
<color name="accent_brown">#795548</color>
|
||||
<color name="accent_white">#FFFFFF</color>
|
||||
<color name="accent_grey">#9e9e9e</color>
|
||||
<color name="accent_black">#000000</color>
|
||||
|
||||
<!--MATERIAL COLORS-->
|
||||
<color name="md_black_1000">#000000</color>
|
||||
|
||||
<color name="md_light_primary_icon">#8A000000</color>
|
||||
<color name="md_light_primary_text">#DE000000</color>
|
||||
<color name="md_light_secondary">#8A000000</color>
|
||||
<color name="md_light_statusbar">@color/md_grey_300</color>
|
||||
<color name="md_light_appbar">@color/md_grey_100</color>
|
||||
<color name="md_light_background">@color/md_grey_200</color>
|
||||
<color name="md_light_cards">@color/md_white_1000</color>
|
||||
<color name="md_light_dialogs">@color/md_white_1000</color>
|
||||
<color name="md_light_disabled">#61000000</color>
|
||||
<color name="md_light_dividers">#1F000000</color>
|
||||
|
||||
<color name="md_dark_appbar">@color/md_grey_900</color>
|
||||
<color name="md_dark_background">@color/md_grey_850</color>
|
||||
<color name="md_dark_cards">@color/md_grey_800</color>
|
||||
<color name="md_dark_dialogs">@color/md_grey_800</color>
|
||||
<color name="md_dark_disabled">#4DFFFFFF</color>
|
||||
<color name="md_dark_dividers">#1FFFFFFF</color>
|
||||
<color name="md_dark_primary_icon">#B3FFFFFF</color>
|
||||
<color name="md_dark_primary_text">#FFFFFFFF</color>
|
||||
<color name="md_dark_secondary">#B3FFFFFF</color>
|
||||
<color name="md_dark_statusbar">@color/md_black_1000</color>
|
||||
|
||||
<!--ALL COLOURS-->
|
||||
<color name="md_amber_100">#FFECB3</color>
|
||||
<color name="md_amber_200">#FFE082</color>
|
||||
<color name="md_amber_300">#FFD54F</color>
|
||||
<color name="md_amber_400">#FFCA28</color>
|
||||
<color name="md_amber_50">#FFF8E1</color>
|
||||
<color name="md_amber_500">#FFC107</color>
|
||||
<color name="md_amber_600">#FFB300</color>
|
||||
<color name="md_amber_700">#FFA000</color>
|
||||
<color name="md_amber_800">#FF8F00</color>
|
||||
<color name="md_amber_900">#FF6F00</color>
|
||||
<color name="md_amber_A100">#FFE57F</color>
|
||||
<color name="md_amber_A200">#FFD740</color>
|
||||
<color name="md_amber_A400">#FFC400</color>
|
||||
<color name="md_amber_A700">#FFAB00</color>
|
||||
|
||||
<color name="md_blue_100">#BBDEFB</color>
|
||||
<color name="md_blue_200">#90CAF9</color>
|
||||
<color name="md_blue_300">#64B5F6</color>
|
||||
<color name="md_blue_400">#42A5F5</color>
|
||||
<color name="md_blue_50">#E3F2FD</color>
|
||||
<color name="md_blue_500">#2196F3</color>
|
||||
<color name="md_blue_600">#1E88E5</color>
|
||||
<color name="md_blue_650">#207be6</color>
|
||||
<color name="md_blue_700">#1976D2</color>
|
||||
<color name="md_blue_750">#195ed2</color>
|
||||
<color name="md_blue_800">#1565C0</color>
|
||||
<color name="md_blue_900">#0D47A1</color>
|
||||
<color name="md_blue_A100">#82B1FF</color>
|
||||
<color name="md_blue_A200">#448AFF</color>
|
||||
<color name="md_blue_A400">#2979FF</color>
|
||||
<color name="md_blue_A700">#2962FF</color>
|
||||
|
||||
<color name="md_blue_grey_100">#CFD8DC</color>
|
||||
<color name="md_blue_grey_200">#B0BEC5</color>
|
||||
<color name="md_blue_grey_300">#90A4AE</color>
|
||||
<color name="md_blue_grey_400">#78909C</color>
|
||||
<color name="md_blue_grey_50">#ECEFF1</color>
|
||||
<color name="md_blue_grey_500">#607D8B</color>
|
||||
<color name="md_blue_grey_600">#546E7A</color>
|
||||
<color name="md_blue_grey_700">#455A64</color>
|
||||
<color name="md_blue_grey_800">#37474F</color>
|
||||
<color name="md_blue_grey_900">#263238</color>
|
||||
|
||||
<color name="md_brown_100">#D7CCC8</color>
|
||||
<color name="md_brown_200">#BCAAA4</color>
|
||||
<color name="md_brown_300">#A1887F</color>
|
||||
<color name="md_brown_400">#8D6E63</color>
|
||||
<color name="md_brown_50">#EFEBE9</color>
|
||||
<color name="md_brown_500">#795548</color>
|
||||
<color name="md_brown_600">#6D4C41</color>
|
||||
<color name="md_brown_700">#5D4037</color>
|
||||
<color name="md_brown_800">#4E342E</color>
|
||||
<color name="md_brown_900">#3E2723</color>
|
||||
|
||||
<color name="md_cyan_100">#B2EBF2</color>
|
||||
<color name="md_cyan_200">#80DEEA</color>
|
||||
<color name="md_cyan_300">#4DD0E1</color>
|
||||
<color name="md_cyan_400">#26C6DA</color>
|
||||
<color name="md_cyan_50">#E0F7FA</color>
|
||||
<color name="md_cyan_500">#00BCD4</color>
|
||||
<color name="md_cyan_600">#00ACC1</color>
|
||||
<color name="md_cyan_700">#0097A7</color>
|
||||
<color name="md_cyan_800">#00838F</color>
|
||||
<color name="md_cyan_900">#006064</color>
|
||||
<color name="md_cyan_A100">#84FFFF</color>
|
||||
<color name="md_cyan_A200">#18FFFF</color>
|
||||
<color name="md_cyan_A400">#00E5FF</color>
|
||||
<color name="md_cyan_A700">#00B8D4</color>
|
||||
|
||||
|
||||
|
||||
<color name="md_deep_orange_100">#FFCCBC</color>
|
||||
<color name="md_deep_orange_200">#FFAB91</color>
|
||||
<color name="md_deep_orange_300">#FF8A65</color>
|
||||
<color name="md_deep_orange_400">#FF7043</color>
|
||||
<color name="md_deep_orange_50">#FBE9E7</color>
|
||||
<color name="md_deep_orange_500">#FF5722</color>
|
||||
<color name="md_deep_orange_600">#F4511E</color>
|
||||
<color name="md_deep_orange_650">#FF5300</color>
|
||||
<color name="md_deep_orange_700">#E64A19</color>
|
||||
<color name="md_deep_orange_800">#D84315</color>
|
||||
<color name="md_deep_orange_900">#BF360C</color>
|
||||
<color name="md_deep_orange_A100">#FF9E80</color>
|
||||
<color name="md_deep_orange_A200">#FF6E40</color>
|
||||
<color name="md_deep_orange_A400">#FF3D00</color>
|
||||
<color name="md_deep_orange_A700">#DD2C00</color>
|
||||
|
||||
<color name="md_deep_purple_100">#D1C4E9</color>
|
||||
<color name="md_deep_purple_200">#B39DDB</color>
|
||||
<color name="md_deep_purple_300">#9575CD</color>
|
||||
<color name="md_deep_purple_400">#7E57C2</color>
|
||||
<color name="md_deep_purple_50">#EDE7F6</color>
|
||||
<color name="md_deep_purple_500">#673AB7</color>
|
||||
<color name="md_deep_purple_600">#5E35B1</color>
|
||||
<color name="md_deep_purple_700">#512DA8</color>
|
||||
<color name="md_deep_purple_800">#4527A0</color>
|
||||
<color name="md_deep_purple_900">#311B92</color>
|
||||
<color name="md_deep_purple_A100">#B388FF</color>
|
||||
<color name="md_deep_purple_A200">#7C4DFF</color>
|
||||
<color name="md_deep_purple_A400">#651FFF</color>
|
||||
<color name="md_deep_purple_A700">#6200EA</color>
|
||||
|
||||
<color name="md_green_100">#C8E6C9</color>
|
||||
<color name="md_green_200">#A5D6A7</color>
|
||||
<color name="md_green_300">#81C784</color>
|
||||
<color name="md_green_400">#66BB6A</color>
|
||||
<color name="md_green_50">#E8F5E9</color>
|
||||
<color name="md_green_500">#4CAF50</color>
|
||||
<color name="md_green_600">#43A047</color>
|
||||
<color name="md_green_700">#388E3C</color>
|
||||
<color name="md_green_800">#2E7D32</color>
|
||||
<color name="md_green_900">#1B5E20</color>
|
||||
<color name="md_green_A100">#B9F6CA</color>
|
||||
<color name="md_green_A200">#69F0AE</color>
|
||||
<color name="md_green_A400">#00E676</color>
|
||||
<color name="md_green_A700">#00C853</color>
|
||||
|
||||
<color name="md_grey_100">#F5F5F5</color>
|
||||
<color name="md_grey_200">#EEEEEE</color>
|
||||
<color name="md_grey_300">#E0E0E0</color>
|
||||
<color name="md_grey_400">#BDBDBD</color>
|
||||
<color name="md_grey_50">#FAFAFA</color>
|
||||
<color name="md_grey_500">#9E9E9E</color>
|
||||
<color name="md_grey_600">#757575</color>
|
||||
<color name="md_grey_700">#616161</color>
|
||||
<color name="md_grey_800">#424242</color>
|
||||
<color name="md_grey_850">#303030</color>
|
||||
<color name="md_grey_900">#212121</color>
|
||||
|
||||
<color name="md_indigo_100">#C5CAE9</color>
|
||||
<color name="md_indigo_200">#9FA8DA</color>
|
||||
<color name="md_indigo_300">#7986CB</color>
|
||||
<color name="md_indigo_400">#5C6BC0</color>
|
||||
<color name="md_indigo_50">#E8EAF6</color>
|
||||
<color name="md_indigo_500">#3F51B5</color>
|
||||
<color name="md_indigo_600">#3949AB</color>
|
||||
<color name="md_indigo_700">#303F9F</color>
|
||||
<color name="md_indigo_800">#283593</color>
|
||||
<color name="md_indigo_900">#1A237E</color>
|
||||
<color name="md_indigo_A100">#8C9EFF</color>
|
||||
<color name="md_indigo_A200">#536DFE</color>
|
||||
<color name="md_indigo_A400">#3D5AFE</color>
|
||||
<color name="md_indigo_A700">#304FFE</color>
|
||||
|
||||
<color name="md_light_blue_100">#B3E5FC</color>
|
||||
<color name="md_light_blue_200">#81D4FA</color>
|
||||
<color name="md_light_blue_300">#4FC3F7</color>
|
||||
<color name="md_light_blue_400">#29B6F6</color>
|
||||
<color name="md_light_blue_50">#E1F5FE</color>
|
||||
<color name="md_light_blue_500">#03A9F4</color>
|
||||
<color name="md_light_blue_600">#039BE5</color>
|
||||
<color name="md_light_blue_700">#0288D1</color>
|
||||
<color name="md_light_blue_800">#0277BD</color>
|
||||
<color name="md_light_blue_900">#01579B</color>
|
||||
<color name="md_light_blue_A100">#80D8FF</color>
|
||||
<color name="md_light_blue_A200">#40C4FF</color>
|
||||
<color name="md_light_blue_A400">#00B0FF</color>
|
||||
<color name="md_light_blue_A700">#0091EA</color>
|
||||
|
||||
<color name="md_light_green_100">#DCEDC8</color>
|
||||
<color name="md_light_green_200">#C5E1A5</color>
|
||||
<color name="md_light_green_300">#AED581</color>
|
||||
<color name="md_light_green_400">#9CCC65</color>
|
||||
<color name="md_light_green_50">#F1F8E9</color>
|
||||
<color name="md_light_green_500">#8BC34A</color>
|
||||
<color name="md_light_green_600">#7CB342</color>
|
||||
<color name="md_light_green_700">#689F38</color>
|
||||
<color name="md_light_green_800">#558B2F</color>
|
||||
<color name="md_light_green_900">#33691E</color>
|
||||
<color name="md_light_green_A100">#CCFF90</color>
|
||||
<color name="md_light_green_A200">#B2FF59</color>
|
||||
<color name="md_light_green_A400">#76FF03</color>
|
||||
<color name="md_light_green_A700">#64DD17</color>
|
||||
|
||||
<color name="md_lime_100">#F0F4C3</color>
|
||||
<color name="md_lime_200">#E6EE9C</color>
|
||||
<color name="md_lime_300">#DCE775</color>
|
||||
<color name="md_lime_400">#D4E157</color>
|
||||
<color name="md_lime_50">#F9FBE7</color>
|
||||
<color name="md_lime_500">#CDDC39</color>
|
||||
<color name="md_lime_600">#C0CA33</color>
|
||||
<color name="md_lime_700">#AFB42B</color>
|
||||
<color name="md_lime_800">#9E9D24</color>
|
||||
<color name="md_lime_900">#827717</color>
|
||||
<color name="md_lime_A100">#F4FF81</color>
|
||||
<color name="md_lime_A200">#EEFF41</color>
|
||||
<color name="md_lime_A400">#C6FF00</color>
|
||||
<color name="md_lime_A700">#AEEA00</color>
|
||||
|
||||
<color name="md_orange_100">#FFE0B2</color>
|
||||
<color name="md_orange_200">#FFCC80</color>
|
||||
<color name="md_orange_300">#FFB74D</color>
|
||||
<color name="md_orange_400">#FFA726</color>
|
||||
<color name="md_orange_50">#FFF3E0</color>
|
||||
<color name="md_orange_500">#FF9800</color>
|
||||
<color name="md_orange_600">#FB8C00</color>
|
||||
<color name="md_orange_700">#F57C00</color>
|
||||
<color name="md_orange_800">#EF6C00</color>
|
||||
<color name="md_orange_900">#E65100</color>
|
||||
<color name="md_orange_A100">#FFD180</color>
|
||||
<color name="md_orange_A200">#FFAB40</color>
|
||||
<color name="md_orange_A400">#FF9100</color>
|
||||
<color name="md_orange_A700">#FF6D00</color>
|
||||
|
||||
<color name="md_pink_100">#F8BBD0</color>
|
||||
<color name="md_pink_200">#F48FB1</color>
|
||||
<color name="md_pink_300">#F06292</color>
|
||||
<color name="md_pink_400">#EC407A</color>
|
||||
<color name="md_pink_50">#FCE4EC</color>
|
||||
<color name="md_pink_500">#E91E63</color>
|
||||
<color name="md_pink_600">#D81B60</color>
|
||||
<color name="md_pink_700">#C2185B</color>
|
||||
<color name="md_pink_800">#AD1457</color>
|
||||
<color name="md_pink_900">#880E4F</color>
|
||||
<color name="md_pink_A100">#FF80AB</color>
|
||||
<color name="md_pink_A200">#FF4081</color>
|
||||
<color name="md_pink_A400">#F50057</color>
|
||||
<color name="md_pink_A700">#C51162</color>
|
||||
|
||||
<color name="md_purple_100">#E1BEE7</color>
|
||||
<color name="md_purple_200">#CE93D8</color>
|
||||
<color name="md_purple_300">#BA68C8</color>
|
||||
<color name="md_purple_400">#AB47BC</color>
|
||||
<color name="md_purple_50">#F3E5F5</color>
|
||||
<color name="md_purple_500">#9C27B0</color>
|
||||
<color name="md_purple_600">#8E24AA</color>
|
||||
<color name="md_purple_700">#7B1FA2</color>
|
||||
<color name="md_purple_800">#6A1B9A</color>
|
||||
<color name="md_purple_900">#4A148C</color>
|
||||
<color name="md_purple_A100">#EA80FC</color>
|
||||
<color name="md_purple_A200">#E040FB</color>
|
||||
<color name="md_purple_A400">#D500F9</color>
|
||||
<color name="md_purple_A700">#AA00FF</color>
|
||||
|
||||
<color name="md_red_100">#FFCDD2</color>
|
||||
<color name="md_red_200">#EF9A9A</color>
|
||||
<color name="md_red_300">#E57373</color>
|
||||
<color name="md_red_400">#EF5350</color>
|
||||
<color name="md_red_50">#FFEBEE</color>
|
||||
<color name="md_red_500">#F44336</color>
|
||||
<color name="md_red_600">#E53935</color>
|
||||
<color name="md_red_700">#D32F2F</color>
|
||||
<color name="md_red_800">#C62828</color>
|
||||
<color name="md_red_900">#B71C1C</color>
|
||||
<color name="md_red_A100">#FF8A80</color>
|
||||
<color name="md_red_A200">#FF5252</color>
|
||||
<color name="md_red_A400">#FF1744</color>
|
||||
<color name="md_red_A700">#D50000</color>
|
||||
|
||||
<color name="md_teal_100">#B2DFDB</color>
|
||||
<color name="md_teal_200">#80CBC4</color>
|
||||
<color name="md_teal_300">#4DB6AC</color>
|
||||
<color name="md_teal_400">#26A69A</color>
|
||||
<color name="md_teal_50">#E0F2F1</color>
|
||||
<color name="md_teal_500">#009688</color>
|
||||
<color name="md_teal_600">#00897B</color>
|
||||
<color name="md_teal_700">#00796B</color>
|
||||
<color name="md_teal_800">#00695C</color>
|
||||
<color name="md_teal_900">#004D40</color>
|
||||
<color name="md_teal_A100">#A7FFEB</color>
|
||||
<color name="md_teal_A200">#64FFDA</color>
|
||||
<color name="md_teal_A400">#1DE9B6</color>
|
||||
<color name="md_teal_A700">#00BFA5</color>
|
||||
|
||||
<color name="md_white_1000">#FFFFFF</color>
|
||||
<color name="md_yellow_100">#FFF9C4</color>
|
||||
<color name="md_yellow_200">#FFF59D</color>
|
||||
<color name="md_yellow_300">#FFF176</color>
|
||||
<color name="md_yellow_400">#FFEE58</color>
|
||||
<color name="md_yellow_50">#FFFDE7</color>
|
||||
<color name="md_yellow_500">#FFEB3B</color>
|
||||
<color name="md_yellow_600">#FDD835</color>
|
||||
<color name="md_yellow_700">#FBC02D</color>
|
||||
<color name="md_yellow_800">#F9A825</color>
|
||||
<color name="md_yellow_900">#F57F17</color>
|
||||
<color name="md_yellow_A100">#FFFF8D</color>
|
||||
<color name="md_yellow_A200">#FFFF00</color>
|
||||
<color name="md_yellow_A400">#FFEA00</color>
|
||||
<color name="md_yellow_A700">#FFD600</color>
|
||||
|
||||
<color name="transparent_black">#c4000000</color>
|
||||
</resources>
|
||||
|
|
@ -7,6 +7,7 @@
|
|||
<dimen name="activity_vertical_margin">16dp</dimen>
|
||||
<dimen name="fab_margin">16dp</dimen>
|
||||
<dimen name="appbar_padding_top">8dp</dimen>
|
||||
<dimen name="bottom_toolbar_height">45dp</dimen>
|
||||
|
||||
<!-- Per the design guidelines, navigation drawers should be between 240dp and 320dp:
|
||||
https://developer.android.com/design/patterns/navigation-drawer.html -->
|
||||
|
|
|
|||
|
|
@ -15,11 +15,21 @@
|
|||
<string name="pref_key__load_images" translatable="false">pref_key_load_images</string>
|
||||
<string name="pref_key__clear_cache" translatable="false">pref_key_clear_cache</string>
|
||||
<string name="pref_key__chrome_custom_tabs_enabled" translatable="false">pref_key__chrome_custom_tabs_enabled</string>
|
||||
<string name="pref_key__http_proxy_load_tor_preset">pref_key__http_proxy_load_tor_preset</string>
|
||||
|
||||
<!-- Themes -->
|
||||
<string name="pref_key__primary_color__preference_click" translatable="false">pref_key_primary_color</string>
|
||||
<string name="pref_key__primary_color_base" translatable="false">pref_key_primary_color_base</string>
|
||||
<string name="pref_key__primary_color_shade" translatable="false">pref_key_primary_color_shade</string>
|
||||
<string name="pref_key__accent_color__preference_click" translatable="false">pref_key_accent_color</string>
|
||||
<string name="pref_key__accent_color_base" translatable="false">pref_key_accent_color_base</string>
|
||||
<string name="pref_key__accent_color_shade" translatable="false">pref_key_accent_color_shade</string>
|
||||
|
||||
|
||||
<string name="pref_key__append_shared_via_app" translatable="false">pref_key_append_shared_via_app</string>
|
||||
<string name="pref_key__proxy_enabled" translatable="false">pref_key_proxy_enabled</string>
|
||||
<string name="pref_key__proxy_host" translatable="false">pref_key_proxy_host</string>
|
||||
<string name="pref_key__proxy_port" translatable="false">pref_key_proxy_port</string>
|
||||
<string name="pref_key__http_proxy_enabled" translatable="false">pref_key_proxy_enabled</string>
|
||||
<string name="pref_key__http_proxy_host" translatable="false">pref_key_proxy_host</string>
|
||||
<string name="pref_key__http_proxy_port" translatable="false">pref_key_proxy_port</string>
|
||||
<string name="pref_key__proxy_was_enabled" translatable="false">wasProxyEnabled</string>
|
||||
|
||||
<!-- Navigiation Slider -->
|
||||
|
|
@ -61,6 +71,13 @@
|
|||
<string name="pref_desc__sub_nav_slider">Control visibility of entries in the navigation drawer</string>
|
||||
<string name="pref_cat__visibility_nav_items">Item visibility</string>
|
||||
|
||||
<!-- Themes -->
|
||||
<string name="pref_title__themes">Theme and Colors</string>
|
||||
<string name="pref_desc__themes">Control, which colors are used throughout the app</string>
|
||||
<string name="pref_title__primary_color">Primary Color</string>
|
||||
<string name="pref_desc__primary_color">Color of the toolbars</string>
|
||||
<string name="pref_title__accent_color">Accent Color</string>
|
||||
<string name="pref_desc__accent_color">Color of the progressbar</string>
|
||||
|
||||
<!-- Font size -->
|
||||
<string name="pref_title__font_size">Font size</string>
|
||||
|
|
@ -81,17 +98,21 @@
|
|||
<string name="pref_desc__load_images">Disable image loading to safe mobile data</string>
|
||||
|
||||
<!-- Proxy -->
|
||||
<string name="pref_title__http_proxy_load_tor_preset">Load Tor Preset</string>
|
||||
<string name="pref_desc__http_proxy_load_tor_preset">Load proxy settings for Tor (Orbot) HTTP Proxy</string>
|
||||
<string name="pref_title__sub_proxy">Proxy</string>
|
||||
<string name="pref_desc__sub_proxy">@string/pref_desc__proxy_enabled</string>
|
||||
<string name="pref_desc__sub_proxy" translatable="false">@string/pref_desc__http_proxy_enabled</string>
|
||||
<string name="pref_title__proxy_enabled">Enable Proxy</string>
|
||||
<string name="pref_desc__proxy_enabled">Proxy Diaspora\'s traffic to circumvent firewalls.\nMay require restart</string>
|
||||
<string name="pref_title__proxy_host">Host</string>
|
||||
<string name="pref_title__proxy_port">Port</string>
|
||||
<string name="pref_desc__http_proxy_enabled">Proxy Diaspora\'s traffic to circumvent firewalls.\nMay require restart</string>
|
||||
<string name="pref_title__http_proxy_host">Host</string>
|
||||
<string name="pref_title__http_proxy_port">Port</string>
|
||||
<string name="HTTP" translatable="false">HTTP</string>
|
||||
<string name="SOCKS5" translatable="false">SOCKS5</string>
|
||||
|
||||
|
||||
<!-- Chrome custom tabs -->
|
||||
<string name="pref_title__chrome_custom_tabs_enabled">Chrome Custom Tabs</string>
|
||||
<string name="pref_desc__chrome_custom_tabs_enabled">Open external links with Chrome Custom Tabs. Chromium or Google Chrome needs to be installed for this feature</string>
|
||||
<string name="pref_desc__chrome_custom_tabs_enabled">Open external links with Chrome Custom Tabs. Chromium or Google Chrome needs to be installed for this feature. \nIMPORTANT NOTE: Chrome Custom Tabs do not use configured proxy servers!</string>
|
||||
|
||||
<!-- Diaspora Settings -->
|
||||
<string name="pref_title__personal_settings">Personal settings</string>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<resources>
|
||||
|
||||
<!-- Base application theme. -->
|
||||
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
|
||||
<style name="DiasporaLight" parent="Theme.AppCompat.Light.DarkActionBar">
|
||||
<!-- Customize your theme here. -->
|
||||
<item name="colorPrimary">@color/colorPrimary</item>
|
||||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||
|
|
@ -9,11 +9,14 @@
|
|||
<item name="actionMenuTextColor">@color/colorAccent</item>
|
||||
</style>
|
||||
|
||||
<style name="AppTheme.NoActionBar">
|
||||
<style name="DiasporaLight.NoActionBar">
|
||||
<item name="windowActionBar">false</item>
|
||||
<item name="windowNoTitle">true</item>
|
||||
</style>
|
||||
|
||||
<style name="Settings" parent="Theme.AppCompat.Light.DarkActionBar">
|
||||
|
||||
</style>
|
||||
<style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
|
||||
|
||||
<style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
|
||||
|
|
|
|||
|
|
@ -57,6 +57,22 @@
|
|||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
|
||||
<PreferenceScreen
|
||||
android:title="@string/pref_title__themes"
|
||||
android:summary="@string/pref_desc__themes" >
|
||||
|
||||
<Preference
|
||||
android:key="@string/pref_key__primary_color__preference_click"
|
||||
android:summary="@string/pref_desc__primary_color"
|
||||
android:title="@string/pref_title__primary_color" />
|
||||
|
||||
<Preference
|
||||
android:key="@string/pref_key__accent_color__preference_click"
|
||||
android:summary="@string/pref_desc__accent_color"
|
||||
android:title="@string/pref_title__accent_color" />
|
||||
|
||||
</PreferenceScreen>
|
||||
|
||||
<ListPreference
|
||||
android:dialogTitle="@string/pref_title__font_size"
|
||||
android:entries="@array/pref_entries__font_size"
|
||||
|
|
@ -129,21 +145,34 @@
|
|||
<PreferenceScreen
|
||||
android:summary="@string/pref_desc__sub_proxy"
|
||||
android:title="@string/pref_title__sub_proxy">
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="@string/pref_key__proxy_enabled"
|
||||
android:summary="@string/pref_desc__proxy_enabled"
|
||||
android:title="@string/pref_title__proxy_enabled"/>
|
||||
<EditTextPreference
|
||||
android:dependency="@string/pref_key__proxy_enabled"
|
||||
android:inputType="textNoSuggestions"
|
||||
android:key="@string/pref_key__proxy_host"
|
||||
android:title="@string/pref_title__proxy_host"/>
|
||||
<EditTextPreference
|
||||
android:dependency="@string/pref_key__proxy_enabled"
|
||||
android:inputType="number"
|
||||
android:key="@string/pref_key__proxy_port"
|
||||
android:title="@string/pref_title__proxy_port"/>
|
||||
|
||||
<PreferenceCategory
|
||||
android:title="@string/HTTP">
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="@string/pref_key__http_proxy_enabled"
|
||||
android:summary="@string/pref_desc__http_proxy_enabled"
|
||||
android:title="@string/pref_title__proxy_enabled"/>
|
||||
|
||||
<EditTextPreference
|
||||
android:dependency="@string/pref_key__http_proxy_enabled"
|
||||
android:inputType="textNoSuggestions"
|
||||
android:key="@string/pref_key__http_proxy_host"
|
||||
android:title="@string/pref_title__http_proxy_host"/>
|
||||
<EditTextPreference
|
||||
android:dependency="@string/pref_key__http_proxy_enabled"
|
||||
android:inputType="number"
|
||||
android:key="@string/pref_key__http_proxy_port"
|
||||
android:title="@string/pref_title__http_proxy_port"/>
|
||||
|
||||
<Preference
|
||||
android:icon="@drawable/tor_onion"
|
||||
android:dependency="@string/pref_key__http_proxy_enabled"
|
||||
android:key="@string/pref_key__http_proxy_load_tor_preset"
|
||||
android:summary="@string/pref_desc__http_proxy_load_tor_preset"
|
||||
android:title="@string/pref_title__http_proxy_load_tor_preset"/>
|
||||
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
</PreferenceCategory>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue