Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 251a6f9b authored by Scott Hancher's avatar Scott Hancher Committed by Josh Guilfoyle
Browse files

Add textField style.

parent 1dfd5e6d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ public class TextFieldLabel extends LinearLayout {
	}

	public TextFieldLabel(Context context, AttributeSet attrs) {
		this(context, attrs, 0);
		this(context, attrs, R.attr.textFieldStyle);
	}

	public TextFieldLabel(Context context, AttributeSet attrs, int defStyle) {
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@
		android:textAppearance="?android:attr/textAppearance"
		android:gravity="left"
		android:id="@+id/labelId"
		android:layout_marginRight="8sp" />
		android:layout_marginRight="8dp" />

	<EditText
		android:layout_width="fill_parent"
+2 −0
Original line number Diff line number Diff line
@@ -314,6 +314,8 @@
        <attr name="dropDownListViewStyle" format="reference" />
        <!-- Default EditText style. -->
        <attr name="editTextStyle" format="reference" />
        <!-- Default TextField style. -->
        <attr name="textFieldStyle" format="reference" />
        <!-- Default ExpandableListView style. -->
        <attr name="expandableListViewStyle" format="reference" />
        <!-- Default Gallery style. -->
+1 −0
Original line number Diff line number Diff line
@@ -1120,4 +1120,5 @@
  <public type="attr" name="labelPosition" id="0x0101026e" />
  <public type="attr" name="progressType" id="0x0101026f" />

  <public type="attr" name="textFieldStyle" id="0x01010270" />
</resources>
+5 −0
Original line number Diff line number Diff line
@@ -330,6 +330,11 @@
        <item name="android:gravity">center_vertical</item>
    </style>
    
    <style name="Widget.TextField">
        <item name="android:paddingLeft">10dp</item>
        <item name="android:paddingRight">10dp</item>
    </style>
    
    <style name="Widget.ExpandableListView" parent="Widget.ListView">
        <item name="android:groupIndicator">@android:drawable/expander_group</item>
        <item name="android:indicatorLeft">?android:attr/expandableListPreferredItemIndicatorLeft</item>
Loading