diff --git a/res/layout/about.xml b/res/layout/about.xml index edd3a10dc..1006819ba 100644 --- a/res/layout/about.xml +++ b/res/layout/about.xml @@ -1,12 +1,12 @@ @@ -47,7 +47,7 @@ android:layout_height="wrap_content"/> + android:layout_marginLeft="10dp" /> + android:layout_toLeftOf="@id/erase" + android:layout_centerVertical="true"/> @@ -47,33 +47,31 @@ android:layout_height="70dp"> + android:layout_weight="0.5"/> @@ -84,7 +82,7 @@ android:layout_height="match_parent" android:padding="10dp" android:layout_above="@id/controls" - android:layout_below="@id/AddressBar" + android:layout_below="@id/address_bar" android:layout_centerInParent="true"/> diff --git a/src/org/linphone/AboutFragment.java b/src/org/linphone/AboutFragment.java index eb5a50799..1dde66f4c 100644 --- a/src/org/linphone/AboutFragment.java +++ b/src/org/linphone/AboutFragment.java @@ -43,7 +43,7 @@ public class AboutFragment extends Fragment implements OnClickListener { public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View view = inflater.inflate(R.layout.about, container, false); - TextView aboutText = (TextView) view.findViewById(R.id.AboutText); + TextView aboutText = (TextView) view.findViewById(R.id.about_text); try { aboutText.setText(String.format(getString(R.string.about_text), getActivity().getPackageManager().getPackageInfo(getActivity().getPackageName(), 0).versionName)); } catch (NameNotFoundException e) { diff --git a/src/org/linphone/DialerFragment.java b/src/org/linphone/DialerFragment.java index ed947c6fc..f8bbd1be1 100644 --- a/src/org/linphone/DialerFragment.java +++ b/src/org/linphone/DialerFragment.java @@ -56,13 +56,13 @@ public class DialerFragment extends Fragment { instance = this; View view = inflater.inflate(R.layout.dialer, container, false); - mAddress = (AddressText) view.findViewById(R.id.Address); + mAddress = (AddressText) view.findViewById(R.id.address); mAddress.setDialerFragment(this); - EraseButton erase = (EraseButton) view.findViewById(R.id.Erase); + EraseButton erase = (EraseButton) view.findViewById(R.id.erase); erase.setAddressWidget(mAddress); - mCall = (CallButton) view.findViewById(R.id.Call); + mCall = (CallButton) view.findViewById(R.id.call); mCall.setAddressWidget(mAddress); if (LinphoneActivity.isInstanciated() && LinphoneManager.getLc().getCallsNb() > 0) { if (isCallTransferOngoing) { @@ -79,7 +79,7 @@ public class DialerFragment extends Fragment { numpad.setAddressWidget(mAddress); } - mAddContact = (ImageView) view.findViewById(R.id.addContact); + mAddContact = (ImageView) view.findViewById(R.id.add_contact); mAddContact.setEnabled(!(LinphoneActivity.isInstanciated() && LinphoneManager.getLc().getCallsNb() > 0)); addContactListener = new OnClickListener() {