1e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogdu/* 2e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogdu * Copyright (C) 2017 The Android Open Source Project 3e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogdu * 4e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogdu * Licensed under the Apache License, Version 2.0 (the "License"); 5e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogdu * you may not use this file except in compliance with the License. 6e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogdu * You may obtain a copy of the License at 7e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogdu * 8e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogdu * http://www.apache.org/licenses/LICENSE-2.0 9e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogdu * 10e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogdu * Unless required by applicable law or agreed to in writing, software 11e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogdu * distributed under the License is distributed on an "AS IS" BASIS, 12e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogdu * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogdu * See the License for the specific language governing permissions and 14e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogdu * limitations under the License. 15e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogdu */ 16e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogdu 17e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogdupackage com.example.android.support.wear.app; 18e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogdu 19e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogduimport android.app.Activity; 20e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogduimport android.os.Build; 21e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogduimport android.os.Bundle; 22e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogduimport android.support.annotation.Nullable; 23e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogduimport android.support.annotation.RequiresApi; 24e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogdu 25e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogduimport com.example.android.support.wear.R; 26e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogdu 27e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogdu/** 28e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogdu * Main activity for the RoundedDrawable demo. 29e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogdu */ 30e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogdu@RequiresApi(Build.VERSION_CODES.N) 31e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogdupublic class RoundedDrawableDemo extends Activity { 32e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogdu 33e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogdu @Override 34e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogdu protected void onCreate(@Nullable Bundle savedInstanceState) { 35e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogdu super.onCreate(savedInstanceState); 36e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogdu setContentView(R.layout.rd_demo); 37e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogdu } 38e0644b4053f9eecc713a4ba9e276df0eadb1dff9Alper Gundogdu} 39