mirror of
https://github.com/lubosz/overte.git
synced 2025-04-07 16:42:08 +02:00
Android Go To, minor visual adjustments
This commit is contained in:
parent
a073cba4d4
commit
2e1f2f4214
4 changed files with 16 additions and 1 deletions
|
@ -19,6 +19,9 @@
|
|||
android:id="@+id/url_text"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/HifiEditText"
|
||||
android:layout_marginStart="@dimen/activity_horizontal_margin"
|
||||
android:layout_marginEnd="@dimen/activity_horizontal_margin"
|
||||
android:hint="@string/goto_url_hint"
|
||||
android:inputType="textUri"
|
||||
android:imeOptions="actionGo"
|
||||
|
@ -28,7 +31,9 @@
|
|||
android:id="@+id/go_btn"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/button_horizontal_margin"
|
||||
android:text="@string/go"
|
||||
app:layout_constraintTop_toBottomOf="@id/url_text"/>
|
||||
app:layout_constraintTop_toBottomOf="@id/url_text"
|
||||
app:layout_constraintEnd_toEndOf="@id/root_activity_goto"/>
|
||||
|
||||
</android.support.constraint.ConstraintLayout>
|
||||
|
|
|
@ -8,4 +8,6 @@
|
|||
<color name="backgroundDark">#333333</color>
|
||||
<color name="backgroundLight">#4F4F4F</color>
|
||||
<color name="backgroundSearch">#33999999</color>
|
||||
<color name="editText">#212121</color>
|
||||
<color name="editTextHint">#9e9e9e</color>
|
||||
</resources>
|
||||
|
|
|
@ -9,4 +9,6 @@
|
|||
<dimen name="text_size_title_material_toolbar">14dp</dimen>
|
||||
<!-- Default text size for action bar subtitle.-->
|
||||
<dimen name="text_size_subtitle_material_toolbar">12dp</dimen>
|
||||
<dimen name="button_horizontal_margin">12dp</dimen>
|
||||
<dimen name="edit_text_padding">8dp</dimen>
|
||||
</resources>
|
|
@ -48,5 +48,11 @@
|
|||
<item name="android:textSize">@dimen/text_size_subtitle_material_toolbar</item>
|
||||
</style>
|
||||
|
||||
<style name="HifiEditText" parent="@android:style/Widget.Material.EditText">
|
||||
<item name="android:padding">@dimen/edit_text_padding</item>
|
||||
<item name="android:textColor">@color/editText</item>
|
||||
<item name="android:textColorHint">@color/editTextHint</item>
|
||||
<item name="android:background">@color/white_opaque</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
|
|
Loading…
Reference in a new issue