Created
October 17, 2018 04:08
-
-
Save CrandellWS/fc7946ea653cf90828580b3c00d8da57 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CustomInAppKeyboard extends LinearLayoutCompat { | |
private static final String TAG = "MyKeyboard"; | |
@Override | |
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { | |
super.onMeasure(widthMeasureSpec, heightMeasureSpec); | |
if(BuildConfig.DEBUG){ | |
Log.e("CustomInAppKeyboard", "w:" + widthMeasureSpec + " :: " + MeasureSpec.toString(widthMeasureSpec)); | |
Log.e("CustomInAppKeyboard", "h:" + heightMeasureSpec + " :: " + MeasureSpec.toString(heightMeasureSpec)); | |
} | |
} | |
public CustomInAppKeyboard(Context context) { | |
this(context, null, 0); | |
} | |
public CustomInAppKeyboard(Context context, AttributeSet attrs) { | |
this(context, attrs, 0); | |
} | |
public CustomInAppKeyboard(Context context, AttributeSet attrs, int defStyleAttr) { | |
super(context, attrs, defStyleAttr); | |
init(context, attrs); | |
} | |
private void init(Context context, AttributeSet attrs) { | |
LayoutInflater.from(context).inflate(R.layout.keyboard_alphanumeric, this, true); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<merge | |
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.support.constraint.ConstraintLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:fitsSystemWindows="true" | |
app:layout_optimizationLevel="standard|dimensions|chains"> | |
<android.support.constraint.Guideline | |
android:id="@+id/guideline_row_1" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal" | |
app:layout_constraintGuide_percent="0.2" /> | |
<android.support.constraint.Guideline | |
android:id="@+id/guideline_row_2" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal" | |
app:layout_constraintGuide_percent="0.4" /> | |
<android.support.constraint.Guideline | |
android:id="@+id/guideline_row_3" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal" | |
app:layout_constraintGuide_percent="0.6" /> | |
<android.support.constraint.Guideline | |
android:id="@+id/guideline_row_4" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal" | |
app:layout_constraintGuide_percent="0.8" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_1" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="1" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_1" | |
app:layout_constraintEnd_toStartOf="@+id/button_2" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toStartOf="parent" | |
app:layout_constraintTop_toTopOf="parent" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_2" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="2" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_1" | |
app:layout_constraintEnd_toStartOf="@+id/button_3" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toEndOf="@+id/button_1" | |
app:layout_constraintTop_toTopOf="parent" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_3" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="3" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_1" | |
app:layout_constraintEnd_toStartOf="@+id/button_4" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toEndOf="@+id/button_2" | |
app:layout_constraintTop_toTopOf="parent" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_4" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="4" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_1" | |
app:layout_constraintEnd_toStartOf="@+id/button_5" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toEndOf="@+id/button_3" | |
app:layout_constraintTop_toTopOf="parent" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_5" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="5" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_1" | |
app:layout_constraintEnd_toStartOf="@+id/button_6" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toEndOf="@+id/button_4" | |
app:layout_constraintTop_toTopOf="parent" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_6" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="6" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_1" | |
app:layout_constraintEnd_toStartOf="@+id/button_7" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toEndOf="@+id/button_5" | |
app:layout_constraintTop_toTopOf="parent" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_7" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="7" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_1" | |
app:layout_constraintEnd_toStartOf="@+id/button_8" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toEndOf="@+id/button_6" | |
app:layout_constraintTop_toTopOf="parent" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_8" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="8" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_1" | |
app:layout_constraintEnd_toStartOf="@+id/button_9" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toEndOf="@+id/button_7" | |
app:layout_constraintTop_toTopOf="parent" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_9" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="9" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_1" | |
app:layout_constraintEnd_toStartOf="@+id/button_0" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toEndOf="@+id/button_8" | |
app:layout_constraintTop_toTopOf="parent" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_0" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="0" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_1" | |
app:layout_constraintEnd_toEndOf="parent" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toEndOf="@+id/button_9" | |
app:layout_constraintTop_toTopOf="parent" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_q" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:lines="1" | |
android:padding="4dp" | |
android:text="Q" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_2" | |
app:layout_constraintEnd_toStartOf="@+id/button_w" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toStartOf="parent" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_1" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_w" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="W" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_2" | |
app:layout_constraintEnd_toStartOf="@+id/button_e" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toEndOf="@+id/button_q" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_1" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_e" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="E" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_2" | |
app:layout_constraintEnd_toStartOf="@+id/button_r" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toEndOf="@+id/button_w" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_1" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_r" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="R" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_2" | |
app:layout_constraintEnd_toStartOf="@+id/button_t" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toEndOf="@+id/button_e" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_1" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_t" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="T" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_2" | |
app:layout_constraintEnd_toStartOf="@+id/button_y" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toEndOf="@+id/button_r" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_1" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_y" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="Y" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_2" | |
app:layout_constraintEnd_toStartOf="@+id/button_u" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toEndOf="@+id/button_t" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_1" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_u" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="U" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_2" | |
app:layout_constraintEnd_toStartOf="@+id/button_i" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toEndOf="@+id/button_y" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_1" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_i" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="I" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_2" | |
app:layout_constraintEnd_toStartOf="@+id/button_o" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toEndOf="@+id/button_u" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_1" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_o" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="O" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_2" | |
app:layout_constraintEnd_toStartOf="@+id/button_p" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toEndOf="@+id/button_i" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_1" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_p" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="P" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_2" | |
app:layout_constraintEnd_toEndOf="parent" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toEndOf="@+id/button_o" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_1" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_a" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="A" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_3" | |
app:layout_constraintEnd_toStartOf="@+id/button_s" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toStartOf="parent" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_2" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_s" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="S" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_3" | |
app:layout_constraintEnd_toStartOf="@+id/button_d" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toEndOf="@+id/button_a" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_2" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_d" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="D" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_3" | |
app:layout_constraintEnd_toStartOf="@+id/button_f" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toEndOf="@+id/button_s" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_2" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_f" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="F" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_3" | |
app:layout_constraintEnd_toStartOf="@+id/button_g" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toEndOf="@+id/button_d" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_2" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_g" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="G" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_3" | |
app:layout_constraintEnd_toStartOf="@+id/button_h" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toEndOf="@+id/button_f" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_2" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_h" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="H" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_3" | |
app:layout_constraintEnd_toStartOf="@+id/button_j" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toEndOf="@+id/button_g" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_2" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_j" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="J" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_3" | |
app:layout_constraintEnd_toStartOf="@+id/button_k" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toEndOf="@+id/button_h" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_2" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_k" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="K" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_3" | |
app:layout_constraintEnd_toStartOf="@+id/button_l" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toEndOf="@+id/button_j" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_2" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_l" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="L" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_3" | |
app:layout_constraintEnd_toEndOf="parent" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toEndOf="@+id/button_k" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_2" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_z" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:lines="1" | |
android:padding="4dp" | |
android:text="Z" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_4" | |
app:layout_constraintEnd_toStartOf="@+id/button_x" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toStartOf="parent" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_3" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_x" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="X" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_4" | |
app:layout_constraintEnd_toStartOf="@+id/button_c" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toEndOf="@+id/button_z" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_3" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_c" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="C" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_4" | |
app:layout_constraintEnd_toStartOf="@+id/button_v" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toEndOf="@+id/button_x" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_3" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_v" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="V" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_4" | |
app:layout_constraintEnd_toStartOf="@+id/button_b" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toEndOf="@+id/button_c" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_3" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_b" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="B" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_4" | |
app:layout_constraintEnd_toStartOf="@+id/button_n" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toEndOf="@+id/button_v" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_3" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_n" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="N" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_4" | |
app:layout_constraintEnd_toStartOf="@+id/button_m" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toEndOf="@+id/button_b" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_3" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_m" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="m" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_4" | |
app:layout_constraintEnd_toStartOf="@+id/button_comma" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toEndOf="@+id/button_n" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_3" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_comma" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="," | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_4" | |
app:layout_constraintEnd_toStartOf="@+id/button_dot" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toEndOf="@+id/button_m" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_3" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_dot" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="." | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_4" | |
app:layout_constraintEnd_toEndOf="parent" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="1" | |
app:layout_constraintStart_toEndOf="@+id/button_comma" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_3" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_caps" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:lines="1" | |
android:padding="4dp" | |
android:text="CAPS" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="parent" | |
app:layout_constraintEnd_toStartOf="@+id/button_space" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="2" | |
app:layout_constraintStart_toStartOf="parent" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_4" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_space" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:lines="1" | |
android:padding="4dp" | |
android:text="SPACE" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="parent" | |
app:layout_constraintEnd_toStartOf="@+id/button_delete" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="5" | |
app:layout_constraintStart_toEndOf="@+id/button_caps" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_4" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_delete" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:lines="1" | |
android:padding="4dp" | |
android:text="BACKSPACE" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintBottom_toBottomOf="parent" | |
app:layout_constraintEnd_toEndOf="parent" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintHorizontal_chainStyle="spread" | |
app:layout_constraintHorizontal_weight="2" | |
app:layout_constraintStart_toEndOf="@+id/button_space" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_4" /> | |
</android.support.constraint.ConstraintLayout> | |
</merge> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<merge | |
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.support.constraint.ConstraintLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:fitsSystemWindows="true"> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_1" | |
android:text="1" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="parent" | |
app:layout_constraintTop_toTopOf="parent" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_1" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_1"/> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_2" | |
android:text="2" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_1" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_2" | |
app:layout_constraintTop_toTopOf="parent" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_1" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_3" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="3" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_2" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_3" | |
app:layout_constraintTop_toTopOf="parent" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_1" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_4" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="4" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_3" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_4" | |
app:layout_constraintTop_toTopOf="parent" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_1" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_5" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="5" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_4" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_5" | |
app:layout_constraintTop_toTopOf="parent" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_1" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_6" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="6" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_5" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_6" | |
app:layout_constraintTop_toTopOf="parent" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_1" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_7" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="7" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_6" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_7" | |
app:layout_constraintTop_toTopOf="parent" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_1" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_8" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="8" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_7" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_8" | |
app:layout_constraintTop_toTopOf="parent" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_1" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_9" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="9" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_8" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_9" | |
app:layout_constraintTop_toTopOf="parent" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_1" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_0" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:text="0" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_9" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_1" | |
app:layout_constraintRight_toRightOf="parent" | |
app:layout_constraintTop_toTopOf="parent" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_q" | |
android:text="Q" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
android:lines="1" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="parent" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_1" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_1" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_2" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_w" | |
android:text="W" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_1" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_2" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_1" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_2"/> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_e" | |
android:text="E" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_2" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_3" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_1" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_2"/> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_r" | |
android:text="R" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_3" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_4" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_1" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_2"/> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_t" | |
android:text="T" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_1" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_2" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_4" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_5"/> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_y" | |
android:text="Y" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_1" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_2" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_5" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_6"/> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_u" | |
android:text="U" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_1" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_2" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_6" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_7"/> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_i" | |
android:text="I" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_1" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_2" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_7" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_8"/> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_o" | |
android:text="O" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_1" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_2" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_8" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_9"/> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_p" | |
android:text="P" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_1" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_2" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_9" | |
app:layout_constraintRight_toRightOf="parent"/> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_a" | |
android:text="A" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="parent" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_1b" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_2" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_3"/> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_s" | |
android:text="S" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_1b" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_2b" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_2" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_3"/> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_d" | |
android:text="D" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_2b" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_3b" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_2" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_3"/> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_f" | |
android:text="F" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_3b" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_4b" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_2" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_3"/> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_g" | |
android:text="G" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_4b" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_5b" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_2" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_3"/> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_h" | |
android:text="H" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_5b" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_6b" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_2" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_3"/> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_j" | |
android:text="J" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_6b" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_7b" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_2" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_3"/> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_k" | |
android:text="K" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_7b" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_8b" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_2" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_3"/> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_l" | |
android:text="L" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_8b" | |
app:layout_constraintRight_toRightOf="parent" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_2" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_3"/> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_z" | |
android:text="Z" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
android:lines="1" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="parent" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_1b" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_3" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_4" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_x" | |
android:text="X" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_1b" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_2b" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_3" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_4" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_c" | |
android:text="C" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_2b" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_3b" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_3" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_4" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_v" | |
android:text="V" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_3b" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_4b" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_3" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_4" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_b" | |
android:text="B" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_4b" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_5b" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_3" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_4" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_n" | |
android:text="N" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_5b" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_6b" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_3" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_4" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_m" | |
android:text="m" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_6b" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_7b" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_3" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_4" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_comma" | |
android:text="," | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_7b" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_8b" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_3" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_4" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_dot" | |
android:text="." | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_8b" | |
app:layout_constraintRight_toRightOf="parent" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_3" | |
app:layout_constraintBottom_toBottomOf="@id/guideline_row_4" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_caps" | |
android:text="CAPS" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
android:lines="1" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="parent" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_2b" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_4" | |
app:layout_constraintBottom_toBottomOf="parent"/> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_space" | |
android:text="SPACE" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
android:lines="1" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_2b" | |
app:layout_constraintRight_toRightOf="@id/guideline_col_7b" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_4" | |
app:layout_constraintBottom_toBottomOf="parent"/> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_delete" | |
android:text="BACKSPACE" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:padding="4dp" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
android:lines="1" | |
app:autoSizeTextType="uniform" | |
app:layout_constraintLeft_toLeftOf="@id/guideline_col_7b" | |
app:layout_constraintRight_toRightOf="parent" | |
app:layout_constraintTop_toTopOf="@id/guideline_row_4" | |
app:layout_constraintBottom_toBottomOf="parent"/> | |
<android.support.constraint.Guideline | |
android:id="@+id/guideline_row_1" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
app:layout_constraintGuide_percent="0.2" | |
android:orientation="horizontal" /> | |
<android.support.constraint.Guideline | |
android:id="@+id/guideline_row_2" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
app:layout_constraintGuide_percent="0.4" | |
android:orientation="horizontal" /> | |
<android.support.constraint.Guideline | |
android:id="@+id/guideline_row_3" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
app:layout_constraintGuide_percent="0.6" | |
android:orientation="horizontal" /> | |
<android.support.constraint.Guideline | |
android:id="@+id/guideline_row_4" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
app:layout_constraintGuide_percent="0.8" | |
android:orientation="horizontal" /> | |
<android.support.constraint.Guideline | |
android:id="@+id/guideline_col_1" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
app:layout_constraintGuide_percent="0.1" | |
android:orientation="vertical" /> | |
<android.support.constraint.Guideline | |
android:id="@+id/guideline_col_2" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
app:layout_constraintGuide_percent="0.2" | |
android:orientation="vertical" /> | |
<android.support.constraint.Guideline | |
android:id="@+id/guideline_col_3" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
app:layout_constraintGuide_percent="0.3" | |
android:orientation="vertical" /> | |
<android.support.constraint.Guideline | |
android:id="@+id/guideline_col_4" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
app:layout_constraintGuide_percent="0.4" | |
android:orientation="vertical" /> | |
<android.support.constraint.Guideline | |
android:id="@+id/guideline_col_5" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
app:layout_constraintGuide_percent="0.5" | |
android:orientation="vertical" /> | |
<android.support.constraint.Guideline | |
android:id="@+id/guideline_col_6" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
app:layout_constraintGuide_percent="0.6" | |
android:orientation="vertical" /> | |
<android.support.constraint.Guideline | |
android:id="@+id/guideline_col_7" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
app:layout_constraintGuide_percent="0.7" | |
android:orientation="vertical" /> | |
<android.support.constraint.Guideline | |
android:id="@+id/guideline_col_8" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
app:layout_constraintGuide_percent="0.8" | |
android:orientation="vertical" /> | |
<android.support.constraint.Guideline | |
android:id="@+id/guideline_col_9" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
app:layout_constraintGuide_percent="0.9" | |
android:orientation="vertical" /> | |
<android.support.constraint.Guideline | |
android:id="@+id/guideline_col_1b" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
app:layout_constraintGuide_percent="0.1111" | |
android:orientation="vertical" /> | |
<android.support.constraint.Guideline | |
android:id="@+id/guideline_col_2b" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
app:layout_constraintGuide_percent="0.2222" | |
android:orientation="vertical" /> | |
<android.support.constraint.Guideline | |
android:id="@+id/guideline_col_3b" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
app:layout_constraintGuide_percent="0.3333" | |
android:orientation="vertical" /> | |
<android.support.constraint.Guideline | |
android:id="@+id/guideline_col_4b" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
app:layout_constraintGuide_percent="0.4444" | |
android:orientation="vertical" /> | |
<android.support.constraint.Guideline | |
android:id="@+id/guideline_col_5b" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
app:layout_constraintGuide_percent="0.5555" | |
android:orientation="vertical" /> | |
<android.support.constraint.Guideline | |
android:id="@+id/guideline_col_6b" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
app:layout_constraintGuide_percent="0.6666" | |
android:orientation="vertical" /> | |
<android.support.constraint.Guideline | |
android:id="@+id/guideline_col_7b" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
app:layout_constraintGuide_percent="0.7777" | |
android:orientation="vertical" /> | |
<android.support.constraint.Guideline | |
android:id="@+id/guideline_col_8b" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
app:layout_constraintGuide_percent="0.8888" | |
android:orientation="vertical" /> | |
</android.support.constraint.ConstraintLayout> | |
</merge> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<merge | |
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" | |
> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:orientation="vertical" | |
android:weightSum="5"> | |
<LinearLayout | |
android:id="@+id/button_row_1" | |
android:layout_width="match_parent" | |
android:layout_height="0dp" | |
android:layout_weight="1" | |
android:orientation="horizontal" | |
android:layout_margin="4dp" | |
android:weightSum="10"> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_1" | |
android:text="1" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:layout_weight="1" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
/> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_2" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="2" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
android:layout_weight="1" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_3" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="3" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
android:layout_weight="1" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_4" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="4" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
android:layout_weight="1" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_5" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:layout_weight="1" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="5" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_6" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:layout_weight="1" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="6" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_7" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:layout_weight="1" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="7" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_8" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:layout_weight="1" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="8" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_9" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="9" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
android:layout_weight="1" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_0" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="0" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" | |
android:layout_weight="1" /> | |
</LinearLayout> | |
<LinearLayout | |
android:id="@+id/button_row_2" | |
android:layout_width="match_parent" | |
android:layout_height="0dp" | |
android:layout_weight="1" | |
android:weightSum="10" | |
android:orientation="horizontal" | |
android:layout_margin="4dp" > | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_q" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:layout_weight="1" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="Q" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform"/> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_w" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:layout_weight="1" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="W" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform"/> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_e" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:layout_weight="1" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="E" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_r" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:layout_weight="1" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="R" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_t" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:layout_weight="1" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="T" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_y" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:layout_weight="1" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="Y" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_u" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:layout_weight="1" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="U" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_i" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:layout_weight="1" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="I" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_o" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:layout_weight="1" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="O" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform"/> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_p" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:layout_weight="1" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="P" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform"/> | |
</LinearLayout> | |
<LinearLayout | |
android:id="@+id/button_row_3" | |
android:layout_width="match_parent" | |
android:layout_height="0dp" | |
android:layout_weight="1" | |
android:weightSum="9" | |
android:orientation="horizontal" | |
android:layout_margin="4dp" > | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_a" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:layout_weight="1" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="A" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform"/> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_s" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:layout_weight="1" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="S" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform"/> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_d" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:layout_weight="1" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="D" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform"/> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_f" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:layout_weight="1" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="F" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform"/> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_g" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:layout_weight="1" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="G" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform"/> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_h" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:layout_weight="1" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="H" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform"/> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_j" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:layout_weight="1" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="J" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform"/> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_k" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:layout_weight="1" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="K" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform"/> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_l" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:layout_weight="1" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="L" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform"/> | |
</LinearLayout> | |
<LinearLayout | |
android:id="@+id/button_row_4" | |
android:layout_width="match_parent" | |
android:layout_height="0dp" | |
android:layout_weight="1" | |
android:orientation="horizontal" | |
android:weightSum="9" | |
android:layout_margin="4dp" > | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_z" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:layout_weight="1" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="Z" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform"/> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_x" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:layout_weight="1" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="X" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_c" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:layout_weight="1" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="C" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_v" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:layout_weight="1" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="V" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_b" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:layout_weight="1" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="B" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_n" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:layout_weight="1" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="N" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_m" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:layout_weight="1" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="m" | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |
android:textStyle="bold" | |
app:autoSizeTextType="uniform" /> | |
<android.support.v7.widget.AppCompatTextView | |
android:id="@+id/button_comma" | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_margin="4dp" | |
android:layout_weight="1" | |
android:background="@drawable/button_basic" | |
android:gravity="center" | |
android:text="," | |
android:textAllCaps="true" | |
android:textColor="#ffffff" | |