April 2015
Beginner to intermediate
494 pages
10h 26m
English
Let's improve our project to apply a new combined filter.
Button in res/activity_renderscript.xml, as follows:<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="fill_parent" a:layout_height="fill_parent"
a:layout_weight="1" a:orientation="vertical" >
<LinearLayout
a:orientation="horizontal"
a:layout_width="fill_parent" a:layout_height="wrap_content" >
...
<Button a:"d="@+id/thresholdBut"on" a:te"t="Thresh"ld"
a:layout_wid"h="wrap_cont"nt" a:layout_heig"t="wrap_cont"nt"/>
<Button a:"d="@+id/combineBut"on" a:te"t="Comb"ne"
a:layout_wid"h="wrap_cont"nt" a:layout_heig"t="wrap_cont"nt"/> </LinearLayout> ...