Commit 51e4a07b by tofunmi Committed by microkatz

Reordering views for consistency in transformer demo app

PiperOrigin-RevId: 489216085
parent 93453621
...@@ -189,10 +189,10 @@ public final class TransformerActivity extends AppCompatActivity { ...@@ -189,10 +189,10 @@ public final class TransformerActivity extends AppCompatActivity {
} catch (IOException e) { } catch (IOException e) {
throw new IllegalStateException(e); throw new IllegalStateException(e);
} }
informationTextView.setText(R.string.transformation_started);
progressViewGroup.setVisibility(View.VISIBLE);
inputCardView.setVisibility(View.GONE); inputCardView.setVisibility(View.GONE);
outputPlayerView.setVisibility(View.GONE); outputPlayerView.setVisibility(View.GONE);
informationTextView.setText(R.string.transformation_started);
progressViewGroup.setVisibility(View.VISIBLE);
Handler mainHandler = new Handler(getMainLooper()); Handler mainHandler = new Handler(getMainLooper());
ProgressHolder progressHolder = new ProgressHolder(); ProgressHolder progressHolder = new ProgressHolder();
mainHandler.post( mainHandler.post(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment