Fix some thangs

This commit is contained in:
d8ahazard
2016-09-24 13:46:42 -05:00
parent 8df6af62d7
commit cf69dd644a
10 changed files with 71 additions and 20 deletions

View File

@@ -36,6 +36,7 @@ public class AutoRootFragment extends ListFragment {
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
prefs = PreferenceManager.getDefaultSharedPreferences(getActivity());
View view = inflater.inflate(R.layout.auto_root_fragment, container, false);
int horizontalMargin = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 2, getResources().getDisplayMetrics());
int verticalMargin = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 2, getResources().getDisplayMetrics());