1
0
forked from GitHub/gf-core

scroll bars for the ParseTreeView

This commit is contained in:
kr.angelov
2014-07-03 13:42:26 +00:00
parent ba1e95dacb
commit 71b82c88a3
6 changed files with 68 additions and 19 deletions

View File

@@ -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"

View 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>

View File

@@ -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>