forked from GitHub/gf-core
scroll bars for the ParseTreeView
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
|
||||
<org.grammaticalframework.ui.android.ParseTreeView
|
||||
android:id="@+id/desc_details"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/alternative_desc"
|
||||
android:textSize="25sp"
|
||||
|
||||
6
src/ui/android/res/values/attrs.xml
Normal file
6
src/ui/android/res/values/attrs.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<declare-styleable name="Theme">
|
||||
<attr name="parseTreeViewStyle" format="reference"/>
|
||||
</declare-styleable>
|
||||
</resources>
|
||||
@@ -15,6 +15,10 @@
|
||||
<!-- Application theme. -->
|
||||
<style name="AppTheme" parent="AppBaseTheme">
|
||||
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
|
||||
<item name="parseTreeViewStyle">@style/ParseTreeViewStyle</item>
|
||||
</style>
|
||||
|
||||
<style name="ParseTreeViewStyle">
|
||||
<item name="android:scrollbars">horizontal</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user