From 750393a5e64b91c37481b41dffbc894c44ca3764 Mon Sep 17 00:00:00 2001 From: Eric House Date: Thu, 15 May 2014 06:53:03 -0700 Subject: [PATCH] oops: get the translation activity translated! --- .../src/org/eehouse/android/xw4/loc/LocDelegate.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/loc/LocDelegate.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/loc/LocDelegate.java index a624da221..3d12ede52 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/loc/LocDelegate.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/loc/LocDelegate.java @@ -80,14 +80,13 @@ public class LocDelegate extends ListDelegateBase protected void init( Bundle savedInstanceState ) { - m_activity.setContentView( R.layout.loc_main ); + setContentView( R.layout.loc_main ); - View root = Utils.getContentView( m_activity ); - m_searchButton = (ImageButton)root.findViewById( R.id.loc_search_button ); + m_searchButton = (ImageButton)findViewById( R.id.loc_search_button ); m_searchButton.setOnClickListener( this ); - m_searchField = (EditText)root.findViewById( R.id.loc_search_field ); - m_filterBy = (Spinner)root.findViewById( R.id.filters ); + m_searchField = (EditText)findViewById( R.id.loc_search_field ); + m_filterBy = (Spinner)findViewById( R.id.filters ); m_filterBy.setOnItemSelectedListener( this ); LocSearcher.Pair[] pairs = LocUtils.makePairs( m_activity );