Archived
Restored option to center widget text; added option to change text opacity (currently non-functional)
This commit is contained in:
@@ -42,13 +42,27 @@
|
||||
<com.denizd.textbasic.VerticalTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/opacity"
|
||||
android:text="@string/text_opacity"
|
||||
android:textSize="12sp"
|
||||
android:fontFamily="@font/mono_light"
|
||||
android:padding="4dp"/>
|
||||
|
||||
<NumberPicker
|
||||
android:id="@+id/transparency_picker"
|
||||
android:id="@+id/text_transparency_picker"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginHorizontal="4dp"/>
|
||||
|
||||
<com.denizd.textbasic.VerticalTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/bg_opacity"
|
||||
android:textSize="12sp"
|
||||
android:fontFamily="@font/mono_light"
|
||||
android:padding="4dp"/>
|
||||
|
||||
<NumberPicker
|
||||
android:id="@+id/bg_transparency_picker"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginHorizontal="4dp"/>
|
||||
@@ -287,6 +301,7 @@
|
||||
android:id="@+id/text_preview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:contentDescription="@string/widget_preview_content_desc"
|
||||
android:paddingHorizontal="4dp"/>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -340,6 +355,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/arrow_top_left"
|
||||
android:background="@android:color/transparent"
|
||||
android:contentDescription="@string/position_button_content_desc_tl"
|
||||
android:padding="@dimen/orientation_button_padding"/>
|
||||
|
||||
<ImageButton
|
||||
@@ -348,6 +364,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/arrow_top"
|
||||
android:background="@android:color/transparent"
|
||||
android:contentDescription="@string/position_button_content_desc_tc"
|
||||
android:padding="@dimen/orientation_button_padding"/>
|
||||
|
||||
<ImageButton
|
||||
@@ -356,6 +373,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/arrow_top_right"
|
||||
android:background="@android:color/transparent"
|
||||
android:contentDescription="@string/position_button_content_desc_tr"
|
||||
android:padding="@dimen/orientation_button_padding"/>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -372,6 +390,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/arrow_left"
|
||||
android:background="@android:color/transparent"
|
||||
android:contentDescription="@string/position_button_content_desc_cl"
|
||||
android:padding="@dimen/orientation_button_padding"/>
|
||||
|
||||
<ImageButton
|
||||
@@ -380,6 +399,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/dot"
|
||||
android:background="@android:color/transparent"
|
||||
android:contentDescription="@string/position_button_content_desc_cc"
|
||||
android:padding="@dimen/orientation_button_padding"/>
|
||||
|
||||
<ImageButton
|
||||
@@ -388,6 +408,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/arrow_right"
|
||||
android:background="@android:color/transparent"
|
||||
android:contentDescription="@string/position_button_content_desc_cr"
|
||||
android:padding="@dimen/orientation_button_padding"/>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -404,6 +425,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/arrow_bottom_left"
|
||||
android:background="@android:color/transparent"
|
||||
android:contentDescription="@string/position_button_content_desc_bl"
|
||||
android:padding="@dimen/orientation_button_padding"/>
|
||||
|
||||
<ImageButton
|
||||
@@ -412,6 +434,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/arrow_bottom"
|
||||
android:background="@android:color/transparent"
|
||||
android:contentDescription="@string/position_button_content_desc_bc"
|
||||
android:padding="@dimen/orientation_button_padding"/>
|
||||
|
||||
<ImageButton
|
||||
@@ -420,6 +443,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/arrow_bottom_right"
|
||||
android:background="@android:color/transparent"
|
||||
android:contentDescription="@string/position_button_content_desc_br"
|
||||
android:padding="@dimen/orientation_button_padding"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
<string name="enter_text">Gib etwas ein…</string>
|
||||
<string name="example_text">Dies ist ein Beispieltext</string>
|
||||
<string name="text_size">Textgröße</string>
|
||||
<string name="opacity">Opazität</string>
|
||||
<string name="text_opacity">Textopazität</string>
|
||||
<string name="bg_opacity">Hintergrundopazität</string>
|
||||
<string name="thickness">Dicke</string>
|
||||
<string name="intensity">Stärke</string>
|
||||
<string name="invert">Farben umkehren</string>
|
||||
@@ -20,6 +21,17 @@
|
||||
|
||||
<string name="position">Position</string>
|
||||
|
||||
<string name="widget_preview_content_desc">Vorschau für das Widget</string>
|
||||
<string name="position_button_content_desc_tl">Positioniere Widget oben links</string>
|
||||
<string name="position_button_content_desc_tc">Positioniere Widget oben zentriert</string>
|
||||
<string name="position_button_content_desc_tr">Positioniere Widget oben rechts</string>
|
||||
<string name="position_button_content_desc_cl">Positioniere Widget zentriert links</string>
|
||||
<string name="position_button_content_desc_cc">Positioniere Widget zentriert</string>
|
||||
<string name="position_button_content_desc_cr">Positioniere Widget zentriert rechts</string>
|
||||
<string name="position_button_content_desc_bl">Positioniere Widget unten links</string>
|
||||
<string name="position_button_content_desc_bc">Positioniere Widget unten zentriert</string>
|
||||
<string name="position_button_content_desc_br">Positioniere Widget unten rechts</string>
|
||||
|
||||
<string name="sansserif">Sans-Serif</string>
|
||||
<string name="serif">Serif</string>
|
||||
<string name="monospace">Monospace</string>
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
<string name="enter_text">Enter something…</string>
|
||||
<string name="example_text">This is an example text</string>
|
||||
<string name="text_size">text size</string>
|
||||
<string name="opacity">opacity</string>
|
||||
<string name="text_opacity">text opacity</string>
|
||||
<string name="bg_opacity">bg opacity</string>
|
||||
<string name="thickness">thickness</string>
|
||||
<string name="intensity">intensity</string>
|
||||
<string name="invert">Invert colours</string>
|
||||
@@ -19,6 +20,17 @@
|
||||
|
||||
<string name="position">position</string>
|
||||
|
||||
<string name="widget_preview_content_desc">Preview for the widget</string>
|
||||
<string name="position_button_content_desc_tl">Position widget at top left</string>
|
||||
<string name="position_button_content_desc_tc">Position widget at top center</string>
|
||||
<string name="position_button_content_desc_tr">Position widget at top right</string>
|
||||
<string name="position_button_content_desc_cl">Position widget at center left</string>
|
||||
<string name="position_button_content_desc_cc">Position widget at center</string>
|
||||
<string name="position_button_content_desc_cr">Position widget at center right</string>
|
||||
<string name="position_button_content_desc_bl">Position widget at bottom left</string>
|
||||
<string name="position_button_content_desc_bc">Position widget at bottom center</string>
|
||||
<string name="position_button_content_desc_br">Position widget at bottom right</string>
|
||||
|
||||
<string name="sansserif">Sans-Serif</string>
|
||||
<string name="serif">Serif</string>
|
||||
<string name="monospace">Monospace</string>
|
||||
|
||||
Reference in New Issue
Block a user