History UI styles update
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 341 B |
BIN
android-app/src/main/res/drawable-hdpi/ic_save_grey600_48dp.png
Normal file
After Width: | Height: | Size: 493 B |
After Width: | Height: | Size: 860 B |
After Width: | Height: | Size: 271 B |
BIN
android-app/src/main/res/drawable-mdpi/ic_save_grey600_48dp.png
Normal file
After Width: | Height: | Size: 440 B |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 402 B |
BIN
android-app/src/main/res/drawable-xhdpi/ic_save_grey600_48dp.png
Normal file
After Width: | Height: | Size: 747 B |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 577 B |
After Width: | Height: | Size: 1.1 KiB |
@@ -33,25 +33,25 @@
|
||||
a:layout_weight="1"
|
||||
a:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
a:id="@+id/history_time"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent"
|
||||
style="@style/history_time"/>
|
||||
|
||||
<TextView
|
||||
a:id="@+id/history_item"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent"
|
||||
style="@style/history_item"/>
|
||||
|
||||
<TextView
|
||||
a:id="@+id/history_time"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent"
|
||||
style="@style/history_time"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView a:id="@+id/history_item_status_icon"
|
||||
a:layout_gravity="center_vertical"
|
||||
a:scaleType="centerInside"
|
||||
a:padding="6dp"
|
||||
a:src="@drawable/ab_disk"
|
||||
a:src="@drawable/ic_save_grey600_48dp"
|
||||
a:visibility="invisible"
|
||||
a:layout_width="wrap_content"
|
||||
a:layout_height="match_parent"/>
|
||||
|
@@ -23,39 +23,24 @@
|
||||
-->
|
||||
|
||||
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
|
||||
a:orientation="vertical"
|
||||
style="?cpp_fragment_list_view_item_style">
|
||||
a:orientation="vertical"
|
||||
style="?cpp_fragment_list_view_item_style">
|
||||
|
||||
<TextView
|
||||
a:id="@+id/history_time"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent"
|
||||
style="@style/history_time"/>
|
||||
a:id="@+id/history_item"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent"
|
||||
style="@style/history_item" />
|
||||
|
||||
<TextView
|
||||
a:id="@+id/history_item"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent"
|
||||
style="@style/history_item"/>
|
||||
|
||||
<LinearLayout
|
||||
a:id="@+id/history_item_comment_layout"
|
||||
a:orientation="horizontal"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent">
|
||||
|
||||
<TextView
|
||||
a:id="@+id/history_item_comment_label"
|
||||
a:layout_width="wrap_content"
|
||||
a:layout_height="fill_parent"
|
||||
a:text="@string/c_history_item_comment"
|
||||
style="@style/history_item_label"/>
|
||||
|
||||
<TextView
|
||||
a:id="@+id/history_item_comment"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent"
|
||||
style="@style/history_item"/>
|
||||
</LinearLayout>
|
||||
a:id="@+id/history_item_comment"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent"
|
||||
style="@style/history_time" />
|
||||
|
||||
<TextView
|
||||
a:id="@+id/history_time"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent"
|
||||
style="@style/history_time" />
|
||||
</LinearLayout>
|
@@ -32,13 +32,13 @@
|
||||
|
||||
<item
|
||||
a:id="@+id/menu_history_toggle_datetime"
|
||||
a:icon="@drawable/ab_clock"
|
||||
a:icon="@drawable/ic_access_time_grey600_48dp"
|
||||
a:title="@string/c_toggle_datetime"
|
||||
a:showAsAction="always"/>
|
||||
|
||||
<item
|
||||
a:id="@+id/menu_history_clear_history"
|
||||
a:icon="@drawable/ab_remove"
|
||||
a:icon="@drawable/ic_delete_grey600_48dp"
|
||||
a:title="@string/c_clear_history"
|
||||
a:showAsAction="always"/>
|
||||
|
||||
|
@@ -23,7 +23,4 @@
|
||||
<resources>
|
||||
<dimen name="cpp_fragment_text_size">17sp</dimen>
|
||||
<dimen name="cpp_fragment_title_text_size">25sp</dimen>
|
||||
|
||||
<dimen name="cpp_math_entity_text_size">20sp</dimen>
|
||||
<dimen name="cpp_math_entity_description_text_size">17sp</dimen>
|
||||
</resources>
|
@@ -24,9 +24,6 @@
|
||||
<dimen name="cpp_fragment_text_size">15sp</dimen>
|
||||
<dimen name="cpp_fragment_title_text_size">20sp</dimen>
|
||||
|
||||
<dimen name="cpp_math_entity_text_size">20sp</dimen>
|
||||
<dimen name="cpp_math_entity_description_text_size">15sp</dimen>
|
||||
|
||||
<dimen name="cpp_editor_text_size">30sp</dimen>
|
||||
<dimen name="cpp_editor_text_size_mobile">30sp</dimen>
|
||||
|
||||
|
@@ -24,9 +24,6 @@
|
||||
<dimen name="cpp_fragment_text_size">15sp</dimen>
|
||||
<dimen name="cpp_fragment_title_text_size">20sp</dimen>
|
||||
|
||||
<dimen name="cpp_math_entity_text_size">16sp</dimen>
|
||||
<dimen name="cpp_math_entity_description_text_size">12sp</dimen>
|
||||
|
||||
<dimen name="cpp_editor_text_size">20sp</dimen>
|
||||
<dimen name="cpp_editor_text_size_mobile">20sp</dimen>
|
||||
|
||||
|
@@ -23,7 +23,4 @@
|
||||
<resources>
|
||||
<dimen name="cpp_fragment_text_size">30sp</dimen>
|
||||
<dimen name="cpp_fragment_title_text_size">40sp</dimen>
|
||||
|
||||
<dimen name="cpp_math_entity_text_size">40sp</dimen>
|
||||
<dimen name="cpp_math_entity_description_text_size">30sp</dimen>
|
||||
</resources>
|
@@ -37,4 +37,6 @@
|
||||
<color name="cpp_metro_purple_color">#651456</color>
|
||||
<color name="cpp_metro_light_button_background">#393939</color>
|
||||
<color name="cpp_widget_cursor_color">#ff707070</color>
|
||||
<color name="cpp_text_primary">#ddffffff</color>
|
||||
<color name="cpp_text_secondary">#89ffffff</color>
|
||||
</resources>
|
@@ -23,9 +23,9 @@
|
||||
<dimen name="cpp_display_text_size">25sp</dimen>
|
||||
<dimen name="cpp_editor_text_size">25sp</dimen>
|
||||
<dimen name="cpp_pane_margin">5dp</dimen>
|
||||
<dimen name="cpp_pane_padding">5dp</dimen>
|
||||
<dimen name="cpp_math_entity_text_size">20sp</dimen>
|
||||
<dimen name="cpp_math_entity_description_text_size">15sp</dimen>
|
||||
<dimen name="cpp_pane_padding">0dp</dimen>
|
||||
<dimen name="cpp_li_text_size">16sp</dimen>
|
||||
<dimen name="cpp_li_secondary_text_size">14sp</dimen>
|
||||
|
||||
<dimen name="cpp_onscreen_display_text_size">20sp</dimen>
|
||||
<dimen name="cpp_onscreen_header_button_text_size">10dp</dimen>
|
||||
|
@@ -22,9 +22,9 @@
|
||||
|
||||
<resources>
|
||||
|
||||
<style name="history_time" parent="math_entity_text"/>
|
||||
<style name="history_time" parent="math_entity_description"/>
|
||||
|
||||
<style name="history_item" parent="math_entity_description"/>
|
||||
<style name="history_item" parent="math_entity_text"/>
|
||||
|
||||
<style name="history_item_label" parent="math_entity_description">
|
||||
<item name="android:textStyle">bold</item>
|
||||
|
@@ -23,14 +23,13 @@
|
||||
<resources>
|
||||
|
||||
<style name="math_entity_text">
|
||||
<item name="android:textStyle">bold</item>
|
||||
<item name="android:textColor">@android:color/white</item>
|
||||
<item name="android:textSize">@dimen/cpp_math_entity_text_size</item>
|
||||
<item name="android:textColor">@color/cpp_text_primary</item>
|
||||
<item name="android:textSize">@dimen/cpp_li_text_size</item>
|
||||
</style>
|
||||
|
||||
<style name="math_entity_description">
|
||||
<item name="android:textColor">#bebebe</item>
|
||||
<item name="android:textSize">@dimen/cpp_math_entity_description_text_size</item>
|
||||
<item name="android:textColor">@color/cpp_text_secondary</item>
|
||||
<item name="android:textSize">@dimen/cpp_li_secondary_text_size</item>
|
||||
</style>
|
||||
|
||||
<style name="add_var_button">
|
||||
|
@@ -48,9 +48,13 @@
|
||||
</style>
|
||||
|
||||
<style name="cpp_default_fragment_list_view_item_style">
|
||||
<item name="android:paddingLeft">16dp</item>
|
||||
<item name="android:paddingRight">16dp</item>
|
||||
<item name="android:paddingBottom">20dp</item>
|
||||
<item name="android:paddingTop">20dp</item>
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:layout_width">match_parent</item>
|
||||
<item name="android:minHeight">50dp</item>
|
||||
<item name="android:minHeight">72dp</item>
|
||||
<item name="android:gravity">center_vertical|left</item>
|
||||
</style>
|
||||
|
||||
|