|
|
@ -4,67 +4,78 @@ |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
<gr.thmmy.mthmmy.utils.AutoFitGridLayout |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:orientation="horizontal"> |
|
|
|
android:orientation="horizontal" |
|
|
|
app:columnWidth="36dp"> |
|
|
|
<!--bold, italic, etc buttons--> |
|
|
|
<android.support.v7.widget.AppCompatImageButton |
|
|
|
android:id="@+id/bold_button" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
app:srcCompat="@drawable/ic_format_bold_grey_36dp" |
|
|
|
android:padding="4dp"/> |
|
|
|
app:srcCompat="@drawable/ic_format_bold_grey_36dp"/> |
|
|
|
|
|
|
|
<android.support.v7.widget.AppCompatImageButton |
|
|
|
android:id="@+id/italic_button" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
app:srcCompat="@drawable/ic_format_italic_grey_36dp" |
|
|
|
android:padding="4dp"/> |
|
|
|
app:srcCompat="@drawable/ic_format_italic_grey_36dp" /> |
|
|
|
|
|
|
|
<android.support.v7.widget.AppCompatImageButton |
|
|
|
android:id="@+id/underline_button" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
app:srcCompat="@drawable/ic_format_underlined_grey_36dp" |
|
|
|
android:padding="4dp"/> |
|
|
|
app:srcCompat="@drawable/ic_format_underlined_grey_36dp" /> |
|
|
|
|
|
|
|
<android.support.v7.widget.AppCompatImageButton |
|
|
|
android:id="@+id/strikethrough_button" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
app:srcCompat="@drawable/ic_strikethrough_s_grey_36dp" |
|
|
|
android:padding="4dp"/> |
|
|
|
app:srcCompat="@drawable/ic_strikethrough_s_grey_36dp" /> |
|
|
|
|
|
|
|
<android.support.v7.widget.AppCompatImageButton |
|
|
|
android:id="@+id/text_color_button" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
app:srcCompat="@drawable/ic_format_color_text_36dp"/> |
|
|
|
|
|
|
|
<android.support.v7.widget.AppCompatImageButton |
|
|
|
android:id="@+id/text_size_button" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
app:srcCompat="@drawable/ic_format_size_black_36dp"/> |
|
|
|
|
|
|
|
<android.support.v7.widget.AppCompatImageButton |
|
|
|
android:id="@+id/unordered_list_button" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
app:srcCompat="@drawable/ic_format_list_bulleted_black_36dp" |
|
|
|
android:padding="4dp"/> |
|
|
|
app:srcCompat="@drawable/ic_format_list_bulleted_black_36dp" /> |
|
|
|
|
|
|
|
<android.support.v7.widget.AppCompatImageButton |
|
|
|
android:id="@+id/align_left_button" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
app:srcCompat="@drawable/ic_format_align_left_grey_36dp" |
|
|
|
android:padding="4dp"/> |
|
|
|
app:srcCompat="@drawable/ic_format_align_left_grey_36dp" /> |
|
|
|
|
|
|
|
<android.support.v7.widget.AppCompatImageButton |
|
|
|
android:id="@+id/align_center_button" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
app:srcCompat="@drawable/ic_format_align_center_grey_36dp" |
|
|
|
android:padding="4dp"/> |
|
|
|
app:srcCompat="@drawable/ic_format_align_center_grey_36dp" /> |
|
|
|
|
|
|
|
<android.support.v7.widget.AppCompatImageButton |
|
|
|
android:id="@+id/align_right_button" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
app:srcCompat="@drawable/ic_format_align_right_grey_36dp" |
|
|
|
android:padding="4dp"/> |
|
|
|
</LinearLayout> |
|
|
|
app:srcCompat="@drawable/ic_format_align_right_grey_36dp" /> |
|
|
|
|
|
|
|
<android.support.v7.widget.AppCompatImageButton |
|
|
|
android:id="@+id/math_button" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
app:srcCompat="@drawable/ic_functions_black_36dp"/> |
|
|
|
</gr.thmmy.mthmmy.utils.AutoFitGridLayout> |
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
android:layout_width="match_parent" |
|
|
|