Note that there are some explanatory texts on larger screens.

plurals
  1. POButton not working after TranslateAnimation ends
    primarykey
    data
    text
    <p>Im tring to simulate a slideup animation.The idea is to slideup and slidedown the tablelayout with the id searchForm when pressing the button so that i can use the extra space for a list. I managed to slideup the searchForm and the button and the list seems to be visible but after this i cant click the button, here's the code responsible for the slideup animatio:</p> <pre><code>TranslateAnimation slide = new TranslateAnimation(0, 0, 0, -findViewById(R.id.searchForm).getHeight()); slide.setDuration(500); slide.setFillAfter(true); findViewById(R.id.searchForm).startAnimation(slide); findViewById(R.id.listBut).startAnimation(slide); adapterSearch.add(new NotificationEntry("","444/2010","TEste","Etapa de teste2","2010")); </code></pre> <p>Here's the xml that has the view elements:</p> <pre><code>&lt;TableLayout android:id="@+id/search" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:stretchColumns="1"&gt; &lt;TableLayout android:id="@+id/searchForm" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:stretchColumns="1"&gt; &lt;TableRow android:paddingTop="5px"&gt; &lt;TextView android:text="Nº Processo:" /&gt; &lt;EditText android:id="@+id/processNr" /&gt; &lt;/TableRow&gt; &lt;View android:id="@+id/View01" android:layout_width="wrap_content" android:background="#B5B5B5" android:layout_height="1px" android:paddingBottom="2px"&gt; &lt;/View&gt; &lt;TableRow android:paddingTop="5px"&gt; &lt;TextView android:text="Etapa:" /&gt; &lt;EditText android:id="@+id/tasksearch" /&gt; &lt;/TableRow&gt; &lt;View android:id="@+id/View01" android:layout_width="wrap_content" android:background="#B5B5B5" android:layout_height="1px" android:paddingBottom="2px"&gt; &lt;/View&gt; &lt;TableRow android:paddingTop="5px"&gt; &lt;TextView android:text="Data inicio:" android:id="@+id/datepick" /&gt; &lt;EditText android:id="@+id/datebegvalue" /&gt; &lt;/TableRow&gt; &lt;View android:id="@+id/View01" android:layout_width="wrap_content" android:background="#B5B5B5" android:layout_height="1px" android:paddingBottom="2px" android:paddingTop="5px"&gt; &lt;/View&gt; &lt;TableRow android:paddingTop="5px"&gt; &lt;TextView android:text="Data Fim:" android:id="@+id/dateendpick" /&gt; &lt;EditText android:id="@+id/dateendvalue" /&gt; &lt;/TableRow&gt; &lt;View android:id="@+id/View01" android:layout_width="wrap_content" android:background="#B5B5B5" android:layout_height="1px" android:paddingBottom="2px" android:paddingTop="5px"&gt; &lt;/View&gt; &lt;/TableLayout&gt; &lt;TableLayout android:id="@+id/listBut"&gt; &lt;TableRow android:paddingTop="5px"&gt; &lt;Button android:id="@+id/send" android:text="Procurar" android:layout_width="fill_parent" android:layout_height="fill_parent" /&gt; &lt;/TableRow&gt; &lt;ListView android:id="@+id/processlistsearch" android:layout_width="fill_parent" android:layout_height="fill_parent" /&gt; &lt;/TableLayout&gt; </code></pre> <p></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload